summaryrefslogtreecommitdiff
path: root/tests/timezones
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2019-01-12 16:14:54 -0500
committerTim Graham <timograham@gmail.com>2019-01-14 16:16:30 -0500
commitb181aba7dd24c73ec9923c39e35393b0487a5f47 (patch)
treee5d82ea665a4b6eace3e07fb53d78808b936c624 /tests/timezones
parentf5b635086a07c9df5897e69685ebdc3a04049ec6 (diff)
downloaddjango-b181aba7dd24c73ec9923c39e35393b0487a5f47.tar.gz
Refs #28478 -- Prevented database feature based skipping on tests disallowing queries.
Database features may require a connection to be established to determine whether or not they are enabled.
Diffstat (limited to 'tests/timezones')
-rw-r--r--tests/timezones/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/timezones/tests.py b/tests/timezones/tests.py
index 06ac51594c..e54b011c04 100644
--- a/tests/timezones/tests.py
+++ b/tests/timezones/tests.py
@@ -581,7 +581,7 @@ class ForcedTimeZoneDatabaseTests(TransactionTestCase):
@skipUnlessDBFeature('supports_timezones')
@override_settings(TIME_ZONE='Africa/Nairobi', USE_TZ=True)
-class UnsupportedTimeZoneDatabaseTests(SimpleTestCase):
+class UnsupportedTimeZoneDatabaseTests(TestCase):
def test_time_zone_parameter_not_supported_if_database_supports_timezone(self):
connections.databases['tz'] = connections.databases['default'].copy()