From bc5bb3e1a0fd8e4641eafa263e6e5871198fbff4 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 1 Dec 2014 16:42:48 -0500 Subject: [PATCH] [1.7.x] Fixed selenium test failure of JavascriptI18nTests. The failure was introduced in dd1ea70779adff294140eddb0229c382e12f32f3. The tests wouldn't start due to a "Dependency on unknown app" error. Backport of b8cc5f3cd4c70518dceb894edf9717abff79f0b4 from master --- tests/view_tests/tests/test_i18n.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/view_tests/tests/test_i18n.py b/tests/view_tests/tests/test_i18n.py index f8a570c066..2a2ff1b92e 100644 --- a/tests/view_tests/tests/test_i18n.py +++ b/tests/view_tests/tests/test_i18n.py @@ -209,8 +209,11 @@ skip_selenium = not os.environ.get('DJANGO_SELENIUM_TESTS', False) @unittest.skipIf(skip_selenium, 'Selenium tests not requested') class JavascriptI18nTests(LiveServerTestCase): - # The test cases use translations from these apps. - available_apps = ['django.contrib.admin', 'view_tests'] + # The test cases use fixtures & translations from these apps. + available_apps = [ + 'django.contrib.admin', 'django.contrib.auth', + 'django.contrib.contenttypes', 'view_tests', + ] urls = 'view_tests.urls' webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'