3
0
Fork 0

fix: allow custom user getter for new_request_set_user() hook

This commit is contained in:
Lance Edgar 2024-08-05 15:06:55 -05:00
parent fc339ba81b
commit 0e0460b831
2 changed files with 39 additions and 13 deletions

View file

@ -103,7 +103,7 @@ class TestNewRequestSetUser(TestCase):
'wutta.db.default.url': 'sqlite://',
})
self.request = testing.DummyRequest()
self.request = testing.DummyRequest(wutta_config=self.config)
self.pyramid_config = testing.setUp(request=self.request, settings={
'wutta_config': self.config,
})