summaryrefslogtreecommitdiff
path: root/tests/admin_widgets/tests.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-02-08 09:52:39 -0500
committerTim Graham <timograham@gmail.com>2016-02-08 09:52:39 -0500
commit7fa8aea8dd971df9c055dae11d9d95b07320d7af (patch)
tree45c06bacdfdd31b8062c6916ed3426d6b445940c /tests/admin_widgets/tests.py
parent10a162809fa4de3a56bb7f2d3cb12b6b82a6f826 (diff)
Made @override_settings(ROOT_URLCONF=...) consistent.
Diffstat (limited to 'tests/admin_widgets/tests.py')
-rw-r--r--tests/admin_widgets/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/admin_widgets/tests.py b/tests/admin_widgets/tests.py
index 4d47179c37..3258fdbba1 100644
--- a/tests/admin_widgets/tests.py
+++ b/tests/admin_widgets/tests.py
@@ -795,8 +795,7 @@ class DateTimePickerSeleniumIETests(DateTimePickerSeleniumFirefoxTests):
@skipIf(pytz is None, "this test requires pytz")
-@override_settings(TIME_ZONE='Asia/Singapore')
-@override_settings(ROOT_URLCONF='admin_widgets.urls')
+@override_settings(ROOT_URLCONF='admin_widgets.urls', TIME_ZONE='Asia/Singapore')
class DateTimePickerShortcutsSeleniumFirefoxTests(SeleniumDataMixin, AdminSeleniumWebDriverTestCase):
available_apps = ['admin_widgets'] + AdminSeleniumWebDriverTestCase.available_apps
webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'