diff options
author | 2018-10-22 11:22:48 +0100 | |
---|---|---|
committer | 2018-10-22 11:22:48 +0100 | |
commit | 0766dab8306d24b22550e1a4a054ff3f2956a0b1 (patch) | |
tree | a3503b68c70154a1cad8b454ccf4269b560c2136 /api/tests/test_models.py | |
parent | fixed linting issues (diff) |
Added special snakes api
Diffstat (limited to 'api/tests/test_models.py')
-rw-r--r-- | api/tests/test_models.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/api/tests/test_models.py b/api/tests/test_models.py index af2ef5d5..009e5bd4 100644 --- a/api/tests/test_models.py +++ b/api/tests/test_models.py @@ -4,7 +4,8 @@ from ..models import ( DocumentationLink, Member, ModelReprMixin, OffTopicChannelName, Role, SnakeFact, SnakeIdiom, - SnakeName, Tag + SnakeName, SpecialSnake, + Tag ) @@ -32,6 +33,7 @@ class StringDunderMethodTests(SimpleTestCase): SnakeFact(fact='snakes are cute'), SnakeIdiom(idiom='snake snacks'), SnakeName(name='python', scientific='3'), + SpecialSnake(name='Pythagoras Pythonista', info='The only python snake that is born a triangle'), Role( id=5, name='test role', colour=0x5, permissions=0 |