aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar bendiller <[email protected]>2020-02-03 08:50:38 -0700
committerGravatar bendiller <[email protected]>2020-02-03 08:50:38 -0700
commit254d7ac7354f5bb1f7e23efb6faa04a221b3d907 (patch)
tree0fb1480dec7d006a17add12edb2ccc65cce09364
parentImprove 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.py5
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']
+ )