Show More
@@ -99,8 +99,7 b' class CustomTestResponse(TestResponse):' | |||||
99 | """ |
|
99 | """ | |
100 | This returns the session from a response object. |
|
100 | This returns the session from a response object. | |
101 | """ |
|
101 | """ | |
102 |
|
102 | from rhodecode.lib.rc_beaker import session_factory_from_settings | ||
103 | from pyramid_beaker import session_factory_from_settings |
|
|||
104 | session = session_factory_from_settings(self.test_app._pyramid_settings) |
|
103 | session = session_factory_from_settings(self.test_app._pyramid_settings) | |
105 | return session(self.request) |
|
104 | return session(self.request) | |
106 |
|
105 |
General Comments 0
You need to be logged in to leave comments.
Login now