From 0766dab8306d24b22550e1a4a054ff3f2956a0b1 Mon Sep 17 00:00:00 2001 From: Hasan-Ahmad Date: Mon, 22 Oct 2018 11:22:48 +0100 Subject: Added special snakes api --- api/tests/test_models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'api/tests/test_models.py') 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 -- cgit v1.2.3