diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2020-10-20 11:49:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 11:49:15 +0100 |
commit | 74f29284aa4311f6cd798b21b0a401a667163a35 (patch) | |
tree | e43d3a5e75b0f064fc9e561fc1430fb365914bfe | |
parent | Cast errors generated during synapse_port_db to str (#8585) (diff) | |
download | synapse-74f29284aa4311f6cd798b21b0a401a667163a35.tar.xz |
Remove some extraneous @unittest.INFOs on unit tests (#8592)
-rw-r--r-- | changelog.d/8592.misc | 1 | ||||
-rw-r--r-- | tests/rest/client/v2_alpha/test_account.py | 1 | ||||
-rw-r--r-- | tests/rest/client/v2_alpha/test_auth.py | 1 |
3 files changed, 1 insertions, 2 deletions
diff --git a/changelog.d/8592.misc b/changelog.d/8592.misc new file mode 100644 index 0000000000..099e8fb7bb --- /dev/null +++ b/changelog.d/8592.misc @@ -0,0 +1 @@ +Remove extraneous unittest logging decorators from unit tests. \ No newline at end of file diff --git a/tests/rest/client/v2_alpha/test_account.py b/tests/rest/client/v2_alpha/test_account.py index ae2cd67f35..66ac4dbe85 100644 --- a/tests/rest/client/v2_alpha/test_account.py +++ b/tests/rest/client/v2_alpha/test_account.py @@ -352,7 +352,6 @@ class DeactivateTestCase(unittest.HomeserverTestCase): self.render(request) self.assertEqual(request.code, 401) - @unittest.INFO def test_pending_invites(self): """Tests that deactivating a user rejects every pending invite for them.""" store = self.hs.get_datastore() diff --git a/tests/rest/client/v2_alpha/test_auth.py b/tests/rest/client/v2_alpha/test_auth.py index 293ccfba2b..86184f0d2e 100644 --- a/tests/rest/client/v2_alpha/test_auth.py +++ b/tests/rest/client/v2_alpha/test_auth.py @@ -104,7 +104,6 @@ class FallbackAuthTests(unittest.HomeserverTestCase): self.assertEqual(len(attempts), 1) self.assertEqual(attempts[0][0]["response"], "a") - @unittest.INFO def test_fallback_captcha(self): """Ensure that fallback auth via a captcha works.""" # Returns a 401 as per the spec |