From cbdeabbf38449b25e00efa553b4a31655d78d295 Mon Sep 17 00:00:00 2001 From: Johannes Christ Date: Sun, 23 Sep 2018 16:39:15 +0200 Subject: Add missing test. --- api/tests/test_models.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'api/tests/test_models.py') diff --git a/api/tests/test_models.py b/api/tests/test_models.py index ff4bb226..b254ddbb 100644 --- a/api/tests/test_models.py +++ b/api/tests/test_models.py @@ -2,7 +2,7 @@ from django.test import SimpleTestCase from ..models import ( DocumentationLink, Member, ModelReprMixin, - OffTopicChannelName, Role, SnakeName + OffTopicChannelName, Role, SnakeName, Tag ) @@ -35,6 +35,10 @@ class StringDunderMethodTests(SimpleTestCase): Member( id=5, name='bob', discriminator=1, avatar_hash=None + ), + Tag( + name='bob', + embed={'content': "the builder"} ) ) -- cgit v1.2.3