From 1376a9d1d94626b9dfd70f48b0f447d2aa89ec98 Mon Sep 17 00:00:00 2001 From: Hasan-Ahmad Date: Mon, 15 Oct 2018 21:46:14 +0100 Subject: Added SnakeFact import --- api/tests/test_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/tests/test_models.py') diff --git a/api/tests/test_models.py b/api/tests/test_models.py index 3cf828d6..f2ab87d8 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 ) -- cgit v1.2.3 From 1d0097103b5caed534a1ffc9761f10f4178ba6b0 Mon Sep 17 00:00:00 2001 From: Hasan-Ahmad Date: Mon, 15 Oct 2018 21:49:52 +0100 Subject: added SnakeName to setUp --- api/tests/test_models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'api/tests/test_models.py') diff --git a/api/tests/test_models.py b/api/tests/test_models.py index f2ab87d8..55009bf6 100644 --- a/api/tests/test_models.py +++ b/api/tests/test_models.py @@ -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', -- cgit v1.2.3