API - fix tests on CI - fix #54
This commit is contained in:
parent
a5a2033918
commit
428c9c513a
@ -48,7 +48,9 @@ def get_app(with_config=False):
|
||||
@pytest.fixture
|
||||
def app(monkeypatch):
|
||||
monkeypatch.setenv('EMAIL_URL', 'smtp://none:none@0.0.0.0:1025')
|
||||
if os.getenv('TILE_SERVER_URL'):
|
||||
monkeypatch.delenv('TILE_SERVER_URL')
|
||||
if os.getenv('MAP_ATTRIBUTION'):
|
||||
monkeypatch.delenv('MAP_ATTRIBUTION')
|
||||
yield from get_app(with_config=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user