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

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

Merged
merged 2 commits into from
Oct 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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