diff options
| author | Theron Luhn <theron@luhn.com> | 2019-12-14 19:05:47 -0600 |
|---|---|---|
| committer | Theron Luhn <theron@luhn.com> | 2019-12-14 19:11:18 -0600 |
| commit | eda8787d00b31dc90164e5c233bfb1cc1f94eaed (patch) | |
| tree | 90ecb51233d6dc1afad48e6415fd3877de62882f /tests | |
| parent | fe637b6953eb95137844a4c1153ccc33ab8136e3 (diff) | |
| download | pyramid-eda8787d00b31dc90164e5c233bfb1cc1f94eaed.tar.gz pyramid-eda8787d00b31dc90164e5c233bfb1cc1f94eaed.tar.bz2 pyramid-eda8787d00b31dc90164e5c233bfb1cc1f94eaed.zip | |
Don't test request.authenticated_userid stringifies the result.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_security.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_security.py b/tests/test_security.py index ca28ec190..715d99804 100644 --- a/tests/test_security.py +++ b/tests/test_security.py @@ -345,8 +345,7 @@ class TestAuthenticatedUserId(unittest.TestCase): def test_with_security_policy(self): request = _makeRequest() - # Ensure the identity is stringified. - _registerSecurityPolicy(request.registry, 123) + _registerSecurityPolicy(request.registry, '123') self.assertEqual(request.authenticated_userid, '123') |
