diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/backends/tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/backends/tests.py b/tests/backends/tests.py index 00d44cf881..1d27dcab87 100644 --- a/tests/backends/tests.py +++ b/tests/backends/tests.py @@ -825,6 +825,11 @@ class BackendTestCase(TransactionTestCase): BaseDatabaseWrapper.queries_limit = old_queries_limit new_connection.close() + def test_timezone_none_use_tz_false(self): + connection.ensure_connection() + with self.settings(TIME_ZONE=None, USE_TZ=False): + connection.init_connection_state() + # We don't make these tests conditional because that means we would need to # check and differentiate between: |
