Skip to content

Commit a97d188

Browse files
committed
Add tests for new embed colour types
1 parent fabfbd6 commit a97d188

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pydis_site/apps/staff/tests/test_logs_view.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,22 @@ def setUpTestData(cls):
9595
"description": "This embed is way too cool to be seen in public channels.",
9696
}
9797

98+
cls.embed_three = {
99+
"description": "This embed is way too cool to be seen in public channels.",
100+
"color": "#e74c3c",
101+
}
102+
103+
cls.embed_four = {
104+
"description": "This embed is way too cool to be seen in public channels.",
105+
"color": "e74c3c",
106+
}
107+
98108
cls.deleted_message_two = DeletedMessage.objects.create(
99109
author=cls.author,
100110
id=614444836291870750,
101111
channel_id=1984,
102112
content='Does that mean this thing will halt?',
103-
embeds=[cls.embed_one, cls.embed_two],
113+
embeds=[cls.embed_one, cls.embed_two, cls.embed_three, cls.embed_four],
104114
attachments=['https://http.cat/100', 'https://http.cat/402'],
105115
deletion_context=cls.deletion_context,
106116
)

0 commit comments

Comments
 (0)