mirror of
https://github.com/django/django.git
synced 2025-03-26 01:00:46 +00:00
[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
This commit is contained in:
parent
943b1047de
commit
bc5bb3e1a0
@ -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'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user