Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Commit

Permalink
Remove side-effect of settings alteration in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Feb 26, 2016
1 parent aab2c62 commit 8f321ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cliquet/tests/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class DummyRequest(mock.MagicMock):
def __init__(self, *args, **kwargs):
super(DummyRequest, self).__init__(*args, **kwargs)
self.upath_info = '/v0/'
self.registry = mock.MagicMock(settings=DEFAULT_SETTINGS)
self.registry = mock.MagicMock(settings=DEFAULT_SETTINGS.copy())
self.registry.id_generator = generators.UUID4()
self.GET = {}
self.headers = {}
Expand Down

0 comments on commit 8f321ad

Please sign in to comment.