Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed available_apps for selenium tests.

Refs #20483.
  • Loading branch information...
commit dfcce4288ac6887e9995c48f2fde38f555cec03e 1 parent c6e6d4e
@aaugustin aaugustin authored
View
4 tests/admin_inlines/tests.py
@@ -505,9 +505,11 @@ def test_inline_change_fk_all_perms(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class SeleniumFirefoxTests(AdminSeleniumWebDriverTestCase):
- webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'
+
+ available_apps = ['admin_inlines'] + AdminSeleniumWebDriverTestCase.available_apps
fixtures = ['admin-views-users.xml']
urls = "admin_inlines.urls"
+ webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'
def test_add_stackeds(self):
"""
View
6 tests/admin_views/tests.py
@@ -3308,9 +3308,11 @@ def test_prepopulated_maxlength_localized(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class SeleniumAdminViewsFirefoxTests(AdminSeleniumWebDriverTestCase):
- webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'
- urls = "admin_views.urls"
+
+ available_apps = ['admin_views'] + AdminSeleniumWebDriverTestCase.available_apps
fixtures = ['admin-views-users.xml']
+ urls = "admin_views.urls"
+ webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'
def test_prepopulated_fields(self):
"""
View
8 tests/admin_widgets/tests.py
@@ -470,9 +470,11 @@ def test_no_can_add_related(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class DateTimePickerSeleniumFirefoxTests(AdminSeleniumWebDriverTestCase):
- webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'
+
+ available_apps = ['admin_widgets'] + AdminSeleniumWebDriverTestCase.available_apps
fixtures = ['admin-widgets-users.xml']
urls = "admin_widgets.urls"
+ webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'
def test_show_hide_date_time_picker_widgets(self):
"""
@@ -526,9 +528,11 @@ class DateTimePickerSeleniumIETests(DateTimePickerSeleniumFirefoxTests):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class HorizontalVerticalFilterSeleniumFirefoxTests(AdminSeleniumWebDriverTestCase):
- webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'
+
+ available_apps = ['admin_widgets'] + AdminSeleniumWebDriverTestCase.available_apps
fixtures = ['admin-widgets-users.xml']
urls = "admin_widgets.urls"
+ webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'
def setUp(self):
self.lisa = models.Student.objects.create(name='Lisa')
View
2  tests/forms_tests/tests/test_widgets.py
@@ -1028,6 +1028,8 @@ class SplitDateRequiredForm(Form):
class LiveWidgetTests(AdminSeleniumWebDriverTestCase):
+
+ available_apps = ['forms_tests'] + AdminSeleniumWebDriverTestCase.available_apps
urls = 'forms_tests.urls'
def test_textarea_trailing_newlines(self):
Please sign in to comment.
Something went wrong with that request. Please try again.