From 046a8eb9c499e0281a8e263a66e05dd6305d9e4e Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 22 Dec 2013 19:04:08 +0100 Subject: [PATCH] Made apps available for loading traslations in a test. --- tests/view_tests/tests/test_i18n.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/view_tests/tests/test_i18n.py b/tests/view_tests/tests/test_i18n.py index 97b73b72ac..f3d676fc0f 100644 --- a/tests/view_tests/tests/test_i18n.py +++ b/tests/view_tests/tests/test_i18n.py @@ -181,7 +181,8 @@ skip_selenium = not os.environ.get('DJANGO_SELENIUM_TESTS', False) @unittest.skipUnless(firefox, 'Selenium not installed') class JavascriptI18nTests(LiveServerTestCase): - available_apps = [] + # The test cases use translations from these apps. + available_apps = ['django.contrib.admin', 'view_tests'] urls = 'view_tests.urls' @classmethod