Moore moocks

This commit is contained in:
Mouse Reeve
2021-08-03 13:27:32 -07:00
parent 5d2324a4a0
commit f35855ce69
15 changed files with 109 additions and 95 deletions

View File

@ -116,6 +116,7 @@ class ReportViews(TestCase):
report.refresh_from_db()
self.assertFalse(report.resolved)
@patch("bookwyrm.suggested_users.rerank_suggestions_task.delay")
def test_suspend_user(self):
"""toggle whether a user is able to log in"""
self.assertTrue(self.rat.is_active)