update python dependencies

This commit is contained in:
Sam
2022-11-26 12:54:56 +01:00
parent 609aa06733
commit 6c9fa65558
7 changed files with 159 additions and 172 deletions

View File

@ -48,13 +48,6 @@ class TestTestingConfig:
else ''
)
def test_it_does_not_preserve_context_on_exception(
self, app: Flask
) -> None:
app.config.from_object('fittrackee.config.TestingConfig')
assert not app.config['PRESERVE_CONTEXT_ON_EXCEPTION']
class TestProductionConfig:
def test_debug_is_disabled(self, app: Flask) -> None:
@ -75,10 +68,3 @@ class TestProductionConfig:
assert app.config['SQLALCHEMY_DATABASE_URI'] == os.environ.get(
'DATABASE_TEST_URL'
)
def test_it_does_not_preserve_context_on_exception(
self, app: Flask
) -> None:
app.config.from_object('fittrackee.config.ProductionConfig')
assert not app.config['PRESERVE_CONTEXT_ON_EXCEPTION']