<NME> test_checks.py
<BEF> ADDFILE
<MSG> Merge pull request #1351 from fyfe/feature/deployment-checks

Feature/deployment checks
<DFF> @@ -0,0 +1,23 @@
+# -*- coding: utf-8 -*-
+
+from __future__ import unicode_literals
+
+from django.test import SimpleTestCase
+from django.test.utils import override_settings
+
+from ..checks import settings_checks
+
+
+class CheckSessionCookieSecureTest(SimpleTestCase):
+    @override_settings(USE_TZ=False)
+    def test_use_tz_false(self):
+        """If USE_TZ is off provide one warning."""
+        self.assertEqual(
+            settings_checks.check_use_tz_enabled(None),
+            [settings_checks.W001]
+        )
+
+    @override_settings(USE_TZ=True)
+    def test_use_tz_true(self):
+        """If USE_TZ is on, there's no warning about it."""
+        self.assertEqual(settings_checks.check_use_tz_enabled(None), [])

Merge pull request #1351 from fyfe/feature/deployment-checks