Skip to content

Commit

Permalink
Update django-waffle to 0.15.1 (#10708)
Browse files Browse the repository at this point in the history
* Update django-waffle from 0.14.0 to 0.15.1
* Flush waffle after changing their values in tests
  • Loading branch information
pyup-bot authored and diox committed Feb 26, 2019
1 parent 29d6773 commit d606d3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions requirements/prod_common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ django-statsd-mozilla==0.4.0 \
--hash=sha256:0d87cb63de8107279cbb748caad9aa74c6a44e7e96ccc5dbf07b89f77285a4b8
django-tables2==1.21.2 \
--hash=sha256:c5c979201b7a2f7e88f2784dcd478e0c809d3a2053dea576cb71ce51676bbf7a # pyup: <2
django-waffle==0.14.0 \
--hash=sha256:f243a56db80bd28601222b1a8a0b1fa4e7e6ac1bbf809952c3725cb4cc0012d9 \
--hash=sha256:f3db39cc17d6e388a485230b6029095e5d6fba4ceaff8d4fcc21f95c47fe2e97
django-waffle==0.15.1 \
--hash=sha256:55691686e3cd6bc0116cf9f025cc7b49b493e8dac8e43f5b4c303d5b8d865588 \
--hash=sha256:5ee5b0a3dc6b5e19dcc60f1c02422343b3017b6559a2f1b68705e0d07617aed9
# djangorestframework is required by drf-nested-routers
djangorestframework==3.9.1 \
--hash=sha256:a4138613b67e3a223be6c97f53b13d759c5b90d2b433bad670b8ebf95402075f \
Expand Down
3 changes: 3 additions & 0 deletions src/olympia/amo/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ def create_sample(name=None, **kw):
if not created:
sample.__dict__.update(kw)
sample.save()
sample.flush()

return sample

Expand All @@ -242,6 +243,7 @@ def create_switch(name=None, **kw):
if not created:
switch.__dict__.update(kw)
switch.save()
switch.flush()

return switch

Expand All @@ -254,6 +256,7 @@ def create_flag(name=None, **kw):
if not created:
flag.__dict__.update(kw)
flag.save()
flag.flush()

return flag

Expand Down

0 comments on commit d606d3b

Please sign in to comment.