Skip to content

Commit

Permalink
django-waffle now caches values so need to flush()
Browse files Browse the repository at this point in the history
  • Loading branch information
eviljeff authored Feb 22, 2019
1 parent 6b69d40 commit c93406b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/olympia/addons/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2914,7 +2914,7 @@ def test_filter_by_guid_return_to_amo_garbage(self):
u'Invalid Return To AMO guid (not in base64url format?)']

def test_filter_by_guid_return_to_amo_feature_disabled(self):
self.create_switch('return-to-amo', active=False)
self.create_switch('return-to-amo', active=False).flush()
assert not switch_is_active('return-to-amo')
addon = addon_factory(slug='my-addon', name=u'My Addôn',
guid='random@guid', weekly_downloads=999)
Expand Down

0 comments on commit c93406b

Please sign in to comment.