Skip to content

Commit 4947f9f

Browse files
authored
Added object client information
1 parent 2d948eb commit 4947f9f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

conftest.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,18 @@
44
@pytest.fixture(scope="session")
55
def base_url():
66
return "https://vpic.nhtsa.dot.gov/api/vehicles"
7-
7+
8+
@pytest.fixture(scope="session")
9+
def base_url_objects():
10+
return "https://api.restful-api.dev"
11+
812
@pytest.fixture(scope="session")
913
def client(base_url):
1014
return APIClient(base_url)
15+
16+
@pytest.fixture(scope="session")
17+
def client_object(base_url_objects):
18+
return APIClient(base_url_objects)
1119

1220
@pytest.fixture(scope="function")
1321
def auth_headers():

0 commit comments

Comments
 (0)