summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheron Luhn <theron@luhn.com>2019-03-30 11:04:22 -0700
committerTheron Luhn <theron@luhn.com>2019-03-30 11:04:22 -0700
commit3d9c5c534c2200aeebad278466a961895901e617 (patch)
tree2f2abe1f62901143c94805242981e097ecc0e871
parent05b24d434e108f6a8490e8c2520e120e4a831534 (diff)
downloadpyramid-3d9c5c534c2200aeebad278466a961895901e617.tar.gz
pyramid-3d9c5c534c2200aeebad278466a961895901e617.tar.bz2
pyramid-3d9c5c534c2200aeebad278466a961895901e617.zip
Fix formatting.
-rw-r--r--tests/test_security.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_security.py b/tests/test_security.py
index 73d8ba6fc..dd5be54d7 100644
--- a/tests/test_security.py
+++ b/tests/test_security.py
@@ -891,6 +891,7 @@ ADMINISTRATOR_PERMS = MODERATOR_PERMS + (ADMINISTER,)
class TestSessionAuthenticationHelper(unittest.TestCase):
def _makeRequest(self, session=None):
from types import SimpleNamespace
+
if session is None:
session = dict()
return SimpleNamespace(session=session)