Skip to content

Commit

Permalink
test: ✅ add TEST_HEADER environment variable to test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
a-luna committed Dec 7, 2023
1 parent 20b4afc commit 5352fff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
@pytest.fixture(scope="function")
def client(request):
os.environ["ENV"] = "TEST"
os.environ["TEST_HEADER"] = "x-unicodeapi-test"
from app.main import app

with TestClient(app) as client:
Expand Down

0 comments on commit 5352fff

Please sign in to comment.