1 parent c925c28 commit c8107aaCopy full SHA for c8107aa
1 file changed
conftest.py
@@ -1 +1,16 @@
1
+import pytest
2
+from utils.api_client import APIClient
3
+
4
+@pytest.fixture(scope="session")
5
+def base_url():
6
+ return "https://vpic.nhtsa.dot.gov/api/vehicles"
7
8
9
+def client(base_url):
10
+ return APIClient(base_url)
11
12
+@pytest.fixture(scope="function")
13
+def auth_headers():
14
+ # Simulate an auth header; replace token with real one if available
15
+ return {"Authorization": "Bearer dummy_token"}
16
0 commit comments