aboutsummaryrefslogtreecommitdiff
path: root/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests.py')
-rw-r--r--tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests.py b/tests.py
index 1d23620..be7b884 100644
--- a/tests.py
+++ b/tests.py
@@ -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()