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 bd6fc7c commit add6131Copy full SHA for add6131
api/tests/conftest.py
@@ -10,6 +10,12 @@ def mock_cognito_variables(mocker):
10
mocker.patch.object(_app, 'USER_POOL_ID', 'user-pool')
11
mocker.patch.object(_app, 'CLIENT_SECRET', 'client-secret')
12
13
+@pytest.fixture(autouse=True)
14
+def env_setup(monkeypatch):
15
+ monkeypatch.setenv('API_BASE_URL', '3.12.0=https://example.com,3.10.0=https://example.com')
16
+ monkeypatch.setenv('API_VERSION', ['3.12.0', '3.10.0'])
17
+
18
19
@pytest.fixture()
20
def app():
21
app = run()
0 commit comments