Skip to content

Commit c8107aa

Browse files
authored
Update conftest.py
1 parent c925c28 commit c8107aa

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

conftest.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
@pytest.fixture(scope="session")
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"}
116

0 commit comments

Comments
 (0)