Ensure cache cleaning in preferences fixture

This commit is contained in:
Eliot Berriot 2018-03-30 18:01:52 +02:00
parent 7cf097626b
commit 4487eb4cca
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ def nodb_factories():
@pytest.fixture
def preferences(db):
def preferences(db, cache):
manager = global_preferences_registry.manager()
manager.all()
yield manager