aboutsummaryrefslogtreecommitdiffstats
path: root/api/tests
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-10-17 19:50:23 +0000
committerGravatar Johannes Christ <[email protected]>2018-10-17 19:50:23 +0000
commit7b0e0ce545238bfa21f710f983b595950a636b52 (patch)
tree66f92f9d6328e2ad4484bf412cebe3057af7056a /api/tests
parentAdd `docker` tag to use proper runners. (diff)
parentMerge branch 'django' of https://gitlab.com/python-discord/projects/site into... (diff)
Merge branch 'snake_facts' into 'django'
Snake Facts API See merge request python-discord/projects/site!41
Diffstat (limited to 'api/tests')
-rw-r--r--api/tests/test_models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/tests/test_models.py b/api/tests/test_models.py
index 3cf828d6..55009bf6 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, Tag
+ OffTopicChannelName, Role, SnakeFact, SnakeName, Tag
)
@@ -27,6 +27,7 @@ class StringDunderMethodTests(SimpleTestCase):
'test', 'http://example.com', 'http://example.com'
),
OffTopicChannelName(name='bob-the-builders-playground'),
+ SnakeFact(fact='snakes are cute'),
SnakeName(name='python', scientific='3'),
Role(
id=5, name='test role',