diff options
| author | Theron Luhn <theron@luhn.com> | 2019-12-14 19:16:58 -0600 |
|---|---|---|
| committer | Theron Luhn <theron@luhn.com> | 2019-12-14 19:17:40 -0600 |
| commit | 638125171a311b9a6ba7c02da844ca601a2b0e0e (patch) | |
| tree | 36c6c40f7366217dcb57d07e447d0205ef28f90b /tests/test_testing.py | |
| parent | d699c9ace8028bf74e1c6c3ea085fdf9beeb2586 (diff) | |
| download | pyramid-638125171a311b9a6ba7c02da844ca601a2b0e0e.tar.gz pyramid-638125171a311b9a6ba7c02da844ca601a2b0e0e.tar.bz2 pyramid-638125171a311b9a6ba7c02da844ca601a2b0e0e.zip | |
Fix tests for `DummySecurityPolicy`.
Diffstat (limited to 'tests/test_testing.py')
| -rw-r--r-- | tests/test_testing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_testing.py b/tests/test_testing.py index ad1fca1d9..6eb474f65 100644 --- a/tests/test_testing.py +++ b/tests/test_testing.py @@ -25,7 +25,7 @@ class TestDummySecurityPolicy(unittest.TestCase): def _makeOne(self, identity=None, permissive=True): klass = self._getTargetClass() - return klass(identity, permissive) + return klass(identity, identity, permissive) def test_identify(self): policy = self._makeOne('user') |
