Skip to content

Commit

Permalink
Reset security.node_available to default_node_available in tearDown o…
Browse files Browse the repository at this point in the history
…f test layer
  • Loading branch information
rnixx committed Jun 2, 2024
1 parent 44c85b5 commit 6025bd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cone/app/testing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ def tearDown(self):
if root.get('settings'):
root['settings'].factories.clear()
security_module.AUTHENTICATOR = None
security_module.node_available = security_module.default_node_available
import pyramid.threadlocal
pyramid.threadlocal.manager.default = pyramid.threadlocal.defaults
resetHooks()
Expand Down

0 comments on commit 6025bd4

Please sign in to comment.