[1.7.x] Fixed selenium test failure of JavascriptI18nTests.

The failure was introduced in dd1ea70779.
The tests wouldn't start due to a "Dependency on unknown app" error.

Backport of b8cc5f3cd4 from master
This commit is contained in:
Tim Graham 2014-12-01 16:42:48 -05:00
parent 943b1047de
commit bc5bb3e1a0
1 changed files with 5 additions and 2 deletions

View File

@ -209,8 +209,11 @@ skip_selenium = not os.environ.get('DJANGO_SELENIUM_TESTS', False)
@unittest.skipIf(skip_selenium, 'Selenium tests not requested') @unittest.skipIf(skip_selenium, 'Selenium tests not requested')
class JavascriptI18nTests(LiveServerTestCase): class JavascriptI18nTests(LiveServerTestCase):
# The test cases use translations from these apps. # The test cases use fixtures & translations from these apps.
available_apps = ['django.contrib.admin', 'view_tests'] available_apps = [
'django.contrib.admin', 'django.contrib.auth',
'django.contrib.contenttypes', 'view_tests',
]
urls = 'view_tests.urls' urls = 'view_tests.urls'
webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver' webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'