1
0
mirror of https://github.com/django/django.git synced 2025-03-26 01:00:46 +00:00

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

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