diff options
author | 2018-09-23 16:39:15 +0200 | |
---|---|---|
committer | 2018-09-23 16:39:15 +0200 | |
commit | cbdeabbf38449b25e00efa553b4a31655d78d295 (patch) | |
tree | 737f1b058e5a9a092ddf2caadb4fc7c9464b5fb5 /api | |
parent | Use tag title as string representation. (diff) |
Add missing test.
Diffstat (limited to 'api')
-rw-r--r-- | api/tests/test_models.py | 6 |
1 files changed, 5 insertions, 1 deletions
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"} ) ) |