Skip to content
Snippets Groups Projects
Unverified Commit 74f29284 authored by Andrew Morgan's avatar Andrew Morgan Committed by GitHub
Browse files

Remove some extraneous @unittest.INFOs on unit tests (#8592)

parent a312e890
No related branches found
No related tags found
No related merge requests found
Remove extraneous unittest logging decorators from unit tests.
\ No newline at end of file
...@@ -352,7 +352,6 @@ class DeactivateTestCase(unittest.HomeserverTestCase): ...@@ -352,7 +352,6 @@ class DeactivateTestCase(unittest.HomeserverTestCase):
self.render(request) self.render(request)
self.assertEqual(request.code, 401) self.assertEqual(request.code, 401)
@unittest.INFO
def test_pending_invites(self): def test_pending_invites(self):
"""Tests that deactivating a user rejects every pending invite for them.""" """Tests that deactivating a user rejects every pending invite for them."""
store = self.hs.get_datastore() store = self.hs.get_datastore()
......
...@@ -104,7 +104,6 @@ class FallbackAuthTests(unittest.HomeserverTestCase): ...@@ -104,7 +104,6 @@ class FallbackAuthTests(unittest.HomeserverTestCase):
self.assertEqual(len(attempts), 1) self.assertEqual(len(attempts), 1)
self.assertEqual(attempts[0][0]["response"], "a") self.assertEqual(attempts[0][0]["response"], "a")
@unittest.INFO
def test_fallback_captcha(self): def test_fallback_captcha(self):
"""Ensure that fallback auth via a captcha works.""" """Ensure that fallback auth via a captcha works."""
# Returns a 401 as per the spec # Returns a 401 as per the spec
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment