diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-08-14 20:56:23 +1000 |
---|---|---|
committer | Amber Brown <hawkowl@atleastfornow.net> | 2018-08-14 20:56:23 +1000 |
commit | 591bf87c6afcdb4e8978a275219dd10dba4efc25 (patch) | |
tree | a2620b679bcaa6ecf75388be0ed5e17fa350d2cd /tests/handlers/test_auth.py | |
parent | Fixes test_reap_monthly_active_users so it passes under postgres (diff) | |
parent | Implement a new test baseclass to cut down on boilerplate (#3684) (diff) | |
download | synapse-591bf87c6afcdb4e8978a275219dd10dba4efc25.tar.xz |
Merge remote-tracking branch 'origin/develop' into neilj/fix_reap_users_in_postgres
Diffstat (limited to 'tests/handlers/test_auth.py')
-rw-r--r-- | tests/handlers/test_auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_auth.py b/tests/handlers/test_auth.py index ede01f8099..56c0f87fb7 100644 --- a/tests/handlers/test_auth.py +++ b/tests/handlers/test_auth.py @@ -35,7 +35,7 @@ class AuthHandlers(object): class AuthTestCase(unittest.TestCase): @defer.inlineCallbacks def setUp(self): - self.hs = yield setup_test_homeserver(handlers=None) + self.hs = yield setup_test_homeserver(self.addCleanup, handlers=None) self.hs.handlers = AuthHandlers(self.hs) self.auth_handler = self.hs.handlers.auth_handler self.macaroon_generator = self.hs.get_macaroon_generator() |