diff options
author | Simon Charette <charette.s@gmail.com> | 2019-01-12 16:14:54 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2019-01-14 16:16:30 -0500 |
commit | b181aba7dd24c73ec9923c39e35393b0487a5f47 (patch) | |
tree | e5d82ea665a4b6eace3e07fb53d78808b936c624 /tests/timezones | |
parent | f5b635086a07c9df5897e69685ebdc3a04049ec6 (diff) | |
download | django-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.py | 2 |
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() |