fix: allow custom user getter for new_request_set_user()
hook
This commit is contained in:
parent
fc339ba81b
commit
0e0460b831
2 changed files with 39 additions and 13 deletions
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue