mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Remove some extraneous @unittest.INFOs on unit tests (#8592)
This commit is contained in:
parent
a312e890f5
commit
74f29284aa
1
changelog.d/8592.misc
Normal file
1
changelog.d/8592.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Remove extraneous unittest logging decorators from unit tests.
|
@ -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):
|
|||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user