diff options
Diffstat (limited to 'webapp/webapp/features/terrain.py')
-rw-r--r-- | webapp/webapp/features/terrain.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/webapp/features/terrain.py b/webapp/webapp/features/terrain.py index 632ac37..ed52bf6 100644 --- a/webapp/webapp/features/terrain.py +++ b/webapp/webapp/features/terrain.py @@ -36,9 +36,11 @@ def load_fixture(fixture_name): @before.each_feature def before_each_feature(feature): + """This is the main lettuce hook "@before.each_feature".""" drop_mongo() drop_sqlite() - if feature.name == "Researcher adds images to options": + if feature.name in ("Researcher adds images to options", + "Researcher can't modify poll's structure"): load_fixture("generic_researcher") |