aboutsummaryrefslogtreecommitdiffstats
path: root/api/tests/test_models.py
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-10-21 20:22:11 +0000
committerGravatar Johannes Christ <[email protected]>2018-10-21 20:22:11 +0000
commit0232d1a8b4a00c3e03153f0820810397effc9285 (patch)
treeed6ba70cc3801be8cc513883a532a415f4639e3a /api/tests/test_models.py
parentDrop extra whitespace. (diff)
parentfixed linting issues (diff)
Merge branch 'snake_idioms' into 'django'
Snake idioms API See merge request python-discord/projects/site!44
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',