summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-12-01 16:42:48 -0500
committerTim Graham <timograham@gmail.com>2014-12-01 17:04:44 -0500
commitbc5bb3e1a0fd8e4641eafa263e6e5871198fbff4 (patch)
tree34b2b3036ac3f15657742e4ed4dfa7d322c2b255 /tests
parent943b1047de0cf20dad26a81182a7e6dcd86fc626 (diff)
[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
Diffstat (limited to 'tests')
-rw-r--r--tests/view_tests/tests/test_i18n.py7
1 files 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'