diff options
Diffstat (limited to 'tests.py')
-rw-r--r-- | tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,11 +17,12 @@ from django.test import TestCase from django.utils import timezone from .models import Course, Group, Timetable, Year +from .utils import tz_now class CourseTestCase(TestCase): def setUp(self): - dt = timezone.now() + dt = tz_now() self.year = Year(name="L2", slug="l2") self.year.save() |