There was an error while loading. Please reload this page.
1 parent ee58771 commit 1fcd707Copy full SHA for 1fcd707
test_cart_api.py renamed to test_post_cart.py
@@ -1,11 +1,10 @@
1
from http import HTTPStatus
2
3
import allure
4
+from pytest_check import check
5
6
from cart_api import CartAPI
7
from open_ai_client import OpenAIClient
-import json
8
-from pytest_check import check
9
10
11
class TestCase:
@@ -46,7 +45,9 @@ class TestCase:
46
45
}
47
48
@allure.feature('test_post_car_with_ai')
49
- def test_post_cart_with_ai(self):
+ def test_with_ai(self):
+ """ Let OpenAI Build and Verify Basic Test Cases """
50
+
51
test_cases_str = self.open_ai_client.generate_api_test_cases(
52
method=self.PROMPT['method'],
53
api_path=self.PROMPT['api_path'],
0 commit comments