We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a0398f commit 4c320c6Copy full SHA for 4c320c6
e2e/demo_project/step_definitions/shared_steps/api_common.py
@@ -6,6 +6,30 @@
6
DELETE_ENDPOINT = "/posts/1"
7
POST_ENDPOINT = "/posts"
8
9
+@pytest.fixture
10
+def driver():
11
+ return
12
+
13
14
+@pytest.fixture(scope="session")
15
+def api_response_container() -> dict:
16
+ return dict()
17
18
19
20
+def context():
21
+ return {}
22
23
24
25
+def header_content_type():
26
+ return header_content_type
27
28
29
30
+def api_base_url():
31
+ """Fixture to set the API Base URL from environment variable"""
32
+ return os.environ.get("API_BASE_URL")
33
34
@pytest.fixture
35
@given(parsers.re("I set api base url '(?P<api_base_url>.*)'"),
0 commit comments