Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove some extraneous @unittest.INFOs on unit tests (#8592)
Browse files Browse the repository at this point in the history
  • Loading branch information
anoadragon453 committed Oct 20, 2020
1 parent a312e89 commit 74f2928
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/8592.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove extraneous unittest logging decorators from unit tests.
1 change: 0 additions & 1 deletion tests/rest/client/v2_alpha/test_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ def test_deactivate_account(self):
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()
Expand Down
1 change: 0 additions & 1 deletion tests/rest/client/v2_alpha/test_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def recaptcha(
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
Expand Down

0 comments on commit 74f2928

Please sign in to comment.