aboutsummaryrefslogtreecommitdiffstats
path: root/api/tests/test_models.py
diff options
context:
space:
mode:
authorGravatar Hasan-Ahmad <[email protected]>2018-10-20 10:56:35 +0100
committerGravatar Hasan-Ahmad <[email protected]>2018-10-20 10:56:35 +0100
commitf9072b84d0ac408d9e9347647567530ce0a85f77 (patch)
tree5157e2fe46a6a735b9989ffaf1cea657a7940a8f /api/tests/test_models.py
parentAdded Snake idioms documentation, fixed docs for snake facts (diff)
Fixed linting issues, added SnakeIdioms to test_models.py
Diffstat (limited to 'api/tests/test_models.py')
-rw-r--r--api/tests/test_models.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/api/tests/test_models.py b/api/tests/test_models.py
index 55009bf6..af2ef5d5 100644
--- a/api/tests/test_models.py
+++ b/api/tests/test_models.py
@@ -2,7 +2,9 @@ from django.test import SimpleTestCase
from ..models import (
DocumentationLink, Member, ModelReprMixin,
- OffTopicChannelName, Role, SnakeFact, SnakeName, Tag
+ OffTopicChannelName, Role,
+ SnakeFact, SnakeIdiom,
+ SnakeName, Tag
)
@@ -28,6 +30,7 @@ class StringDunderMethodTests(SimpleTestCase):
),
OffTopicChannelName(name='bob-the-builders-playground'),
SnakeFact(fact='snakes are cute'),
+ SnakeIdiom(idiom='snake snacks'),
SnakeName(name='python', scientific='3'),
Role(
id=5, name='test role',