Skip to content

Commit

Permalink
fix behave
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Apr 11, 2024
1 parent 010724d commit 38738d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/features/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def before_all(context):
'NEWS_API_ENABLED': True,
'NEWS_API_TIME_LIMIT_DAYS': 100,
'NEWS_API_BEHAVE_TESTS': True,
'CACHE_TYPE': 'null',
}
setup_before_all(context, config, app_factory=get_app)

Expand All @@ -31,6 +32,7 @@ def before_scenario(context, scenario):
'NEWS_API_ENABLED': True,
'NEWS_API_TIME_LIMIT_DAYS': 100,
'NEWS_API_BEHAVE_TESTS': True,
'CACHE_TYPE': 'null',
}

if 'rate_limit' in scenario.tags:
Expand Down

0 comments on commit 38738d1

Please sign in to comment.