update python dependencies
This commit is contained in:
@ -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']
|
||||
|
Reference in New Issue
Block a user