diff options
author | 2020-01-13 21:14:40 +0100 | |
---|---|---|
committer | 2020-01-13 21:14:40 +0100 | |
commit | e35529d1c0215ac8d7148c66a786ab8780e1f2e9 (patch) | |
tree | 968067e10c1e6255a3ae9672aaf818297f2f5a7a /pydis_site/apps/api/tests | |
parent | Adding iframe attributes to attribute whitelist (diff) | |
parent | Update migration dependency to the latest merged (diff) |
Merge pull request #303 from python-discord/bot#549-show-attachments-staff
Show attachments in staff log
Diffstat (limited to 'pydis_site/apps/api/tests')
-rw-r--r-- | pydis_site/apps/api/tests/test_deleted_messages.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pydis_site/apps/api/tests/test_deleted_messages.py b/pydis_site/apps/api/tests/test_deleted_messages.py index d1e9f2f5..b3a8197b 100644 --- a/pydis_site/apps/api/tests/test_deleted_messages.py +++ b/pydis_site/apps/api/tests/test_deleted_messages.py @@ -25,14 +25,16 @@ class DeletedMessagesWithoutActorTests(APISubdomainTestCase): 'id': 55, 'channel_id': 5555, 'content': "Terror Billy is a meanie", - 'embeds': [] + 'embeds': [], + 'attachments': [] }, { 'author': cls.author.id, 'id': 56, 'channel_id': 5555, 'content': "If you purge this, you're evil", - 'embeds': [] + 'embeds': [], + 'attachments': [] } ] } @@ -64,7 +66,8 @@ class DeletedMessagesWithActorTests(APISubdomainTestCase): 'id': 12903, 'channel_id': 1824, 'content': "I hate trailing commas", - 'embeds': [] + 'embeds': [], + 'attachments': [] }, ] } |