add env file
This commit is contained in:
@@ -132,8 +132,7 @@ def dynamodb_seeds(dynamodb_client):
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def mock_app(monkeypatch):
|
||||
monkeypatch.setattr('settings.ELASTIC_CONN', {'hosts': 'http://127.0.0.1:9200'})
|
||||
def mock_app():
|
||||
import app
|
||||
|
||||
return app
|
||||
|
||||
Reference in New Issue
Block a user