Skip to content

Commit 1fcd707

Browse files
committed
test file rename
1 parent ee58771 commit 1fcd707

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test_cart_api.py renamed to test_post_cart.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
from http import HTTPStatus
22

33
import allure
4+
from pytest_check import check
45

56
from cart_api import CartAPI
67
from open_ai_client import OpenAIClient
7-
import json
8-
from pytest_check import check
98

109

1110
class TestCase:
@@ -46,7 +45,9 @@ class TestCase:
4645
}
4746

4847
@allure.feature('test_post_car_with_ai')
49-
def test_post_cart_with_ai(self):
48+
def test_with_ai(self):
49+
""" Let OpenAI Build and Verify Basic Test Cases """
50+
5051
test_cases_str = self.open_ai_client.generate_api_test_cases(
5152
method=self.PROMPT['method'],
5253
api_path=self.PROMPT['api_path'],

0 commit comments

Comments
 (0)