add audiolog
This commit is contained in:
@@ -136,7 +136,10 @@ def dynamodb_seeds(dynamodb_client):
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_app():
|
||||
def mock_app(monkeypatch):
|
||||
for table_name in ['USER_TABLE', 'COURSE_TABLE']:
|
||||
monkeypatch.setenv(table_name, PYTEST_TABLE_NAME)
|
||||
|
||||
import app
|
||||
|
||||
return app
|
||||
|
||||
Reference in New Issue
Block a user