diff options
author | 2020-02-03 08:50:38 -0700 | |
---|---|---|
committer | 2020-02-03 08:50:38 -0700 | |
commit | 254d7ac7354f5bb1f7e23efb6faa04a221b3d907 (patch) | |
tree | 0fb1480dec7d006a17add12edb2ccc65cce09364 | |
parent | Improve test failure clarity (reduce unhandled exceptions in assertions) (diff) |
Improve test failure clarity (reduce unhandled exceptions in assertions)
-rw-r--r-- | pydis_site/apps/api/tests/test_reminders.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pydis_site/apps/api/tests/test_reminders.py b/pydis_site/apps/api/tests/test_reminders.py index 618e4e54..f3dd5eec 100644 --- a/pydis_site/apps/api/tests/test_reminders.py +++ b/pydis_site/apps/api/tests/test_reminders.py @@ -172,4 +172,7 @@ class ReminderUpdateTests(APISubdomainTestCase): response = self.client.patch(url, data=self.data) self.assertEqual(response.status_code, 200) - self.assertEqual(Reminder.objects.filter(id=self.reminder.id).first().content, self.data['content']) + self.assertEqual( + Reminder.objects.filter(id=self.reminder.id).first().content, + self.data['content'] + ) |