diff --git a/infoscreen/tests.py b/infoscreen/tests.py index 7ce503c..da6a5a8 100644 --- a/infoscreen/tests.py +++ b/infoscreen/tests.py @@ -1,3 +1,12 @@ from django.test import TestCase +from infoscreen.models import Rotation + +class RotationTestCase(TestCase): + def setUp(self): + Rotation.objects.create(name="test_rot") + + def test_rotation_created(self): + rot = Rotation.objects.get(name="test_rot") + self.assertIsNotNone(rot) # Create your tests here.