Made apps available for loading traslations in a test.

This commit is contained in:
Aymeric Augustin 2013-12-22 19:04:08 +01:00
parent 865603780b
commit 046a8eb9c4
1 changed files with 2 additions and 1 deletions

View File

@ -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