13 lines
328 B
Python
13 lines
328 B
Python
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.
|