diff options
author | 2019-08-24 12:16:49 +0200 | |
---|---|---|
committer | 2019-08-24 12:33:36 +0200 | |
commit | c22d092514a01964690d9e7d7888a08a40176d33 (patch) | |
tree | 97c4439203f5f507407dd96c3d5520bae5d8be90 /pydis_site/apps/staff/tests | |
parent | Adding staff app to .coveragerc and .dockerignore + updating app locations in... (diff) |
Changing LogView to DetailView, as per Volcy's review
Diffstat (limited to 'pydis_site/apps/staff/tests')
-rw-r--r-- | pydis_site/apps/staff/tests/test_logs_view.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/staff/tests/test_logs_view.py b/pydis_site/apps/staff/tests/test_logs_view.py index 4fc38c7a..ea6020e1 100644 --- a/pydis_site/apps/staff/tests/test_logs_view.py +++ b/pydis_site/apps/staff/tests/test_logs_view.py @@ -133,7 +133,7 @@ class TestLogsView(TestCase): self.assertIn("messages", response.context) self.assertListEqual( [self.deleted_message_one, self.deleted_message_two], - list(response.context["messages"]) + list(response.context["deletion_context"].deletedmessage_set.all()) ) def test_if_both_embeds_are_included_html_response(self): |