Permalink
Browse files

Renamed some tests and removed references to modeltests/regressiontests.

  • Loading branch information...
1 parent 737a5d7 commit 33836cf88dd08ebd66d19ad7f732b12f089abd27 @apollo13 apollo13 committed Feb 26, 2013
Showing with 385 additions and 377 deletions.
  1. +1 −1 tests/admin_changelist/tests.py
  2. +5 −5 tests/admin_inlines/tests.py
  3. +71 −64 tests/admin_scripts/tests.py
  4. +1 −1 tests/admin_validation/tests.py
  5. +34 −34 tests/admin_views/tests.py
  6. +2 −2 tests/admin_widgets/tests.py
  7. +7 −7 tests/cache/tests.py
  8. +1 −1 tests/commands_sql/tests.py
  9. +7 −7 tests/comment_tests/custom_comments/__init__.py
  10. +9 −9 tests/comment_tests/tests/__init__.py
  11. +6 −6 tests/comment_tests/tests/app_api_tests.py
  12. +1 −1 tests/comment_tests/tests/feed_tests.py
  13. +1 −1 tests/comment_tests/tests/moderation_view_tests.py
  14. +1 −1 tests/conditional_processing/models.py
  15. +1 −1 tests/context_processors/tests.py
  16. +1 −1 tests/empty/no_models/tests.py
  17. +1 −1 tests/empty/tests.py
  18. +1 −1 tests/file_storage/tests.py
  19. 0 tests/{views/templatetags → forms_tests}/__init__.py
  20. 0 tests/{forms → forms_tests}/models.py
  21. 0 tests/{forms → forms_tests}/templates/forms/article_form.html
  22. 0 tests/{forms → forms_tests}/tests/__init__.py
  23. +1 −1 tests/{forms → forms_tests}/tests/error_messages.py
  24. 0 tests/{forms → forms_tests}/tests/extra.py
  25. +6 −6 tests/{forms → forms_tests}/tests/fields.py
  26. 0 tests/{forms → forms_tests}/tests/filepath_test_files/.dot-file
  27. 0 tests/{forms → forms_tests}/tests/filepath_test_files/directory/.keep
  28. 0 tests/{forms → forms_tests}/tests/filepath_test_files/fake-image.jpg
  29. 0 tests/{forms → forms_tests}/tests/filepath_test_files/real-text-file.txt
  30. 0 tests/{forms → forms_tests}/tests/forms.py
  31. 0 tests/{forms → forms_tests}/tests/formsets.py
  32. 0 tests/{forms → forms_tests}/tests/input_formats.py
  33. 0 tests/{forms → forms_tests}/tests/media.py
  34. 0 tests/{forms → forms_tests}/tests/models.py
  35. +2 −2 tests/{forms → forms_tests}/tests/regressions.py
  36. 0 tests/{forms → forms_tests}/tests/util.py
  37. 0 tests/{forms → forms_tests}/tests/validators.py
  38. +1 −1 tests/{forms → forms_tests}/tests/widgets.py
  39. +1 −1 tests/{forms → forms_tests}/urls.py
  40. 0 tests/{forms → forms_tests}/views.py
  41. +5 −5 tests/generic_inline_admin/tests.py
  42. +1 −1 tests/generic_views/base.py
  43. +6 −6 tests/generic_views/dates.py
  44. +1 −1 tests/generic_views/detail.py
  45. +4 −4 tests/generic_views/edit.py
  46. +1 −1 tests/generic_views/list.py
  47. +1 −1 tests/handlers/tests.py
  48. +4 −4 tests/i18n/patterns/tests.py
  49. +1 −1 tests/i18n/patterns/urls/default.py
  50. +1 −1 tests/i18n/patterns/urls/wrong.py
  51. +5 −5 tests/i18n/tests.py
  52. +3 −3 tests/inline_formsets/tests.py
  53. +1 −1 tests/invalid_models/tests.py
  54. +4 −4 tests/logging_tests/tests.py
  55. +5 −5 tests/mail/tests.py
  56. +11 −11 tests/middleware/tests.py
  57. +6 −6 tests/middleware_exceptions/tests.py
  58. +1 −1 tests/model_inheritance_same_model_name/models.py
  59. +3 −3 tests/model_inheritance_same_model_name/tests.py
  60. +1 −1 tests/model_permalink/tests.py
  61. +3 −2 tests/runtests.py
  62. +1 −1 tests/servers/tests.py
  63. +3 −3 tests/special_headers/tests.py
  64. +6 −6 tests/staticfiles_tests/tests.py
  65. +1 −1 tests/swappable_models/tests.py
  66. +1 −1 tests/syndication/tests.py
  67. 0 tests/{utils/test_module → template_tests}/__init__.py
  68. 0 tests/{templates → template_tests}/alternate_urls.py
  69. 0 tests/{templates → template_tests}/callables.py
  70. 0 tests/{templates → template_tests}/context.py
  71. 0 tests/{templates → template_tests}/custom.py
  72. BIN tests/{templates → template_tests}/eggs/tagsegg.egg
  73. 0 tests/{templates → template_tests}/filters.py
  74. 0 tests/{templates → template_tests}/loaders.py
  75. 0 tests/{templates → template_tests}/models.py
  76. 0 tests/{templates → template_tests}/nodelist.py
  77. 0 tests/{templates → template_tests}/parser.py
  78. +5 −5 tests/{templates → template_tests}/response.py
  79. 0 tests/{templates → template_tests}/smartif.py
  80. 0 tests/{templates → template_tests}/templates/broken_base.html
  81. 0 tests/{templates → template_tests}/templates/first/test.html
  82. 0 tests/{templates → template_tests}/templates/inclusion.html
  83. 0 tests/{templates → template_tests}/templates/response.html
  84. 0 tests/{templates → template_tests}/templates/second/test.html
  85. 0 tests/{templates → template_tests}/templates/ssi include with spaces.html
  86. 0 tests/{templates → template_tests}/templates/ssi_include.html
  87. 0 tests/{templates → template_tests}/templates/test_context.html
  88. 0 tests/{templates → template_tests}/templates/test_extends_error.html
  89. 0 tests/{templates → template_tests}/templates/test_incl_tag_current_app.html
  90. 0 tests/{templates → template_tests}/templates/test_incl_tag_use_l10n.html
  91. 0 tests/{templates → template_tests}/templates/test_include_error.html
  92. 0 tests/{utils → template_tests/templatetags}/__init__.py
  93. 0 tests/{templates → template_tests}/templatetags/bad_tag.py
  94. 0 tests/{templates → template_tests}/templatetags/broken_tag.py
  95. 0 tests/{templates → template_tests}/templatetags/custom.py
  96. 0 tests/{templates → template_tests}/templatetags/subpackage/__init__.py
  97. 0 tests/{templates → template_tests}/templatetags/subpackage/echo.py
  98. 0 tests/{templates → template_tests}/templatetags/subpackage/echo_invalid.py
  99. +21 −21 tests/{templates → template_tests}/tests.py
  100. 0 tests/{templates → template_tests}/unicode.py
  101. +1 −1 tests/{templates → template_tests}/urls.py
  102. 0 tests/{templates → template_tests}/views.py
  103. 0 tests/{test_templates → templates}/base.html
  104. 0 tests/{test_templates → templates}/comments/comment_notification_email.txt
  105. 0 tests/{test_templates → templates}/custom_admin/add_form.html
  106. 0 tests/{test_templates → templates}/custom_admin/change_form.html
  107. 0 tests/{test_templates → templates}/custom_admin/change_list.html
  108. 0 tests/{test_templates → templates}/custom_admin/delete_confirmation.html
  109. 0 tests/{test_templates → templates}/custom_admin/delete_selected_confirmation.html
  110. 0 tests/{test_templates → templates}/custom_admin/index.html
  111. 0 tests/{test_templates → templates}/custom_admin/login.html
  112. 0 tests/{test_templates → templates}/custom_admin/logout.html
  113. 0 tests/{test_templates → templates}/custom_admin/object_history.html
  114. 0 tests/{test_templates → templates}/custom_admin/password_change_done.html
  115. 0 tests/{test_templates → templates}/custom_admin/password_change_form.html
  116. 0 tests/{test_templates → templates}/extended.html
  117. 0 tests/{test_templates → templates}/form_view.html
  118. 0 tests/{test_templates → templates}/login.html
  119. 0 tests/{test_templates → templates}/views/article_archive_day.html
  120. 0 tests/{test_templates → templates}/views/article_archive_month.html
  121. 0 tests/{test_templates → templates}/views/article_confirm_delete.html
  122. 0 tests/{test_templates → templates}/views/article_detail.html
  123. 0 tests/{test_templates → templates}/views/article_form.html
  124. 0 tests/{test_templates → templates}/views/article_list.html
  125. 0 tests/{test_templates → templates}/views/datearticle_archive_month.html
  126. 0 tests/{test_templates → templates}/views/urlarticle_detail.html
  127. 0 tests/{test_templates → templates}/views/urlarticle_form.html
  128. +2 −2 tests/test_client_regress/tests.py
  129. +13 −13 tests/test_runner/tests.py
  130. +2 −2 tests/test_utils/tests.py
  131. +1 −1 tests/timezones/tests.py
  132. +5 −5 tests/urlpatterns_reverse/erroneous_urls.py
  133. +2 −2 tests/urlpatterns_reverse/extra_urls.py
  134. +1 −1 tests/urlpatterns_reverse/included_named_urls.py
  135. +3 −3 tests/urlpatterns_reverse/included_namespace_urls.py
  136. +1 −1 tests/urlpatterns_reverse/named_urls.py
  137. +7 −7 tests/urlpatterns_reverse/namespace_urls.py
  138. +19 −19 tests/urlpatterns_reverse/tests.py
  139. +2 −2 tests/urlpatterns_reverse/urls.py
  140. +2 −2 tests/urlpatterns_reverse/urls_error_handlers.py
  141. +10 −10 tests/urls.py
  142. 0 tests/{templates/templatetags → utils_tests}/__init__.py
  143. 0 tests/{utils → utils_tests}/archive.py
  144. BIN tests/{utils → utils_tests}/archives/foobar.tar
  145. BIN tests/{utils → utils_tests}/archives/foobar.tar.bz2
  146. BIN tests/{utils → utils_tests}/archives/foobar.tar.gz
  147. BIN tests/{utils → utils_tests}/archives/foobar.zip
  148. 0 tests/{utils → utils_tests}/baseconv.py
  149. 0 tests/{utils → utils_tests}/checksums.py
  150. 0 tests/{utils → utils_tests}/crypto.py
  151. 0 tests/{utils → utils_tests}/datastructures.py
  152. 0 tests/{utils → utils_tests}/dateformat.py
  153. 0 tests/{utils → utils_tests}/dateparse.py
  154. 0 tests/{utils → utils_tests}/datetime_safe.py
  155. 0 tests/{utils → utils_tests}/decorators.py
  156. BIN tests/{utils → utils_tests}/eggs/test_egg.egg
  157. 0 tests/{utils → utils_tests}/encoding.py
  158. 0 tests/{utils → utils_tests}/feedgenerator.py
  159. 0 tests/{utils → utils_tests}/functional.py
  160. 0 tests/{utils → utils_tests}/html.py
  161. 0 tests/{utils → utils_tests}/http.py
  162. 0 tests/{utils → utils_tests}/ipv6.py
  163. 0 tests/{utils → utils_tests}/jslex.py
  164. 0 tests/{utils → utils_tests}/models.py
  165. +10 −10 tests/{utils → utils_tests}/module_loading.py
  166. 0 tests/{utils → utils_tests}/numberformat.py
  167. 0 tests/{utils → utils_tests}/os_utils.py
  168. 0 tests/{utils → utils_tests}/regex_helper.py
  169. 0 tests/{utils → utils_tests}/simplelazyobject.py
  170. 0 tests/{utils → utils_tests}/termcolors.py
  171. 0 tests/{templates → utils_tests/test_module}/__init__.py
  172. 0 tests/{utils → utils_tests}/test_module/bad_module.py
  173. 0 tests/{utils → utils_tests}/test_module/good_module.py
  174. 0 tests/{utils → utils_tests}/test_no_submodule.py
  175. 0 tests/{utils → utils_tests}/tests.py
  176. 0 tests/{utils → utils_tests}/text.py
  177. 0 tests/{utils → utils_tests}/timesince.py
  178. 0 tests/{utils → utils_tests}/timezone.py
  179. 0 tests/{utils → utils_tests}/tzinfo.py
  180. 0 tests/{views → view_tests}/__init__.py
  181. 0 tests/{views/app4 → view_tests/app0}/__init__.py
  182. BIN tests/{views → view_tests}/app0/locale/en/LC_MESSAGES/djangojs.mo
  183. 0 tests/{views → view_tests}/app0/locale/en/LC_MESSAGES/djangojs.po
  184. 0 tests/{views/app3 → view_tests/app1}/__init__.py
  185. BIN tests/{views → view_tests}/app1/locale/fr/LC_MESSAGES/djangojs.mo
  186. 0 tests/{views → view_tests}/app1/locale/fr/LC_MESSAGES/djangojs.po
  187. 0 tests/{views → view_tests}/app2/__init__.py
  188. BIN tests/{views → view_tests}/app2/locale/fr/LC_MESSAGES/djangojs.mo
  189. 0 tests/{views → view_tests}/app2/locale/fr/LC_MESSAGES/djangojs.po
  190. 0 tests/{views/app1 → view_tests/app3}/__init__.py
  191. BIN tests/{views → view_tests}/app3/locale/es_AR/LC_MESSAGES/djangojs.mo
  192. 0 tests/{views → view_tests}/app3/locale/es_AR/LC_MESSAGES/djangojs.po
  193. 0 tests/{views/app0 → view_tests/app4}/__init__.py
  194. BIN tests/{views → view_tests}/app4/locale/es_AR/LC_MESSAGES/djangojs.mo
  195. 0 tests/{views → view_tests}/app4/locale/es_AR/LC_MESSAGES/djangojs.po
  196. +12 −12 tests/{views → view_tests}/fixtures/testdata.json
  197. +3 −3 tests/{views → view_tests}/generic_urls.py
  198. BIN tests/{views → view_tests}/locale/de/LC_MESSAGES/djangojs.mo
  199. 0 tests/{views → view_tests}/locale/de/LC_MESSAGES/djangojs.po
  200. BIN tests/{views → view_tests}/locale/es/LC_MESSAGES/djangojs.mo
  201. 0 tests/{views → view_tests}/locale/es/LC_MESSAGES/djangojs.po
  202. BIN tests/{views → view_tests}/locale/fr/LC_MESSAGES/djangojs.mo
  203. 0 tests/{views → view_tests}/locale/fr/LC_MESSAGES/djangojs.po
  204. BIN tests/{views → view_tests}/locale/ru/LC_MESSAGES/djangojs.mo
  205. 0 tests/{views → view_tests}/locale/ru/LC_MESSAGES/djangojs.po
  206. 0 tests/{views → view_tests}/media/file.txt
  207. BIN tests/{views → view_tests}/media/file.txt.gz
  208. 0 tests/{views → view_tests}/media/file.unknown
  209. 0 tests/{views → view_tests}/models.py
  210. 0 tests/{views → view_tests}/templates/debug/render_test.html
  211. 0 tests/{views → view_tests}/templates/debug/template_exception.html
  212. 0 tests/{views → view_tests}/templates/jsi18n.html
  213. 0 tests/{forms → view_tests/templatetags}/__init__.py
  214. 0 tests/{views → view_tests}/templatetags/debugtags.py
  215. 0 tests/{views → view_tests}/tests/__init__.py
  216. +1 −1 tests/{views → view_tests}/tests/debug.py
  217. 0 tests/{views → view_tests}/tests/defaults.py
  218. +6 −6 tests/{views → view_tests}/tests/i18n.py
  219. +1 −1 tests/{views → view_tests}/tests/shortcuts.py
  220. +1 −1 tests/{views → view_tests}/tests/specials.py
  221. 0 tests/{views → view_tests}/tests/static.py
  222. +6 −6 tests/{views → view_tests}/urls.py
  223. 0 tests/{views → view_tests}/views.py
  224. +6 −6 tests/wsgi/tests.py
@@ -24,7 +24,7 @@
class ChangeListTests(TestCase):
- urls = "regressiontests.admin_changelist.urls"
+ urls = "admin_changelist.urls"
def setUp(self):
self.factory = RequestFactory()
@@ -17,7 +17,7 @@
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class TestInline(TestCase):
- urls = "regressiontests.admin_inlines.urls"
+ urls = "admin_inlines.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -196,7 +196,7 @@ def test_create_inlines_on_inherited_model(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class TestInlineMedia(TestCase):
- urls = "regressiontests.admin_inlines.urls"
+ urls = "admin_inlines.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -233,7 +233,7 @@ def test_all_inline_media(self):
self.assertContains(response, 'my_awesome_inline_scripts.js')
class TestInlineAdminForm(TestCase):
- urls = "regressiontests.admin_inlines.urls"
+ urls = "admin_inlines.urls"
def test_immutable_content_type(self):
"""Regression for #9362
@@ -256,7 +256,7 @@ class TestInlinePermissions(TestCase):
inline. Refs #8060.
"""
- urls = "regressiontests.admin_inlines.urls"
+ urls = "admin_inlines.urls"
def setUp(self):
self.user = User(username='admin')
@@ -451,7 +451,7 @@ def test_inline_change_fk_all_perms(self):
class SeleniumFirefoxTests(AdminSeleniumWebDriverTestCase):
webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'
fixtures = ['admin-views-users.xml']
- urls = "regressiontests.admin_inlines.urls"
+ urls = "admin_inlines.urls"
def test_add_stackeds(self):
"""
Oops, something went wrong.
@@ -142,7 +142,7 @@ class TwoAlbumFKAndAnEInline(admin.TabularInline):
model = TwoAlbumFKAndAnE
self.assertRaisesMessage(Exception,
- "<class 'regressiontests.admin_validation.models.TwoAlbumFKAndAnE'> has more than 1 ForeignKey to <class 'regressiontests.admin_validation.models.Album'>",
+ "<class 'admin_validation.models.TwoAlbumFKAndAnE'> has more than 1 ForeignKey to <class 'admin_validation.models.Album'>",
validate_inline,
TwoAlbumFKAndAnEInline, None, Album)
@@ -64,7 +64,7 @@ class AdminViewBasicTest(TestCase):
# this test case and changing urlbit.
urlbit = 'admin'
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
def setUp(self):
self.old_USE_I18N = settings.USE_I18N
@@ -610,7 +610,7 @@ def test_allows_attributeerror_to_bubble_up(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminViewFormUrlTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ["admin-views-users.xml"]
urlbit = "admin3"
@@ -644,7 +644,7 @@ def test_filter_with_custom_template(self):
class AdminJavaScriptTest(TestCase):
fixtures = ['admin-views-users.xml']
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
def setUp(self):
self.client.login(username='super', password='secret')
@@ -709,7 +709,7 @@ def test_js_minified_only_if_debug_is_false(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class SaveAsTests(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml', 'admin-views-person.xml']
def setUp(self):
@@ -739,7 +739,7 @@ def test_save_as_display(self):
class CustomModelAdminTest(AdminViewBasicTest):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
urlbit = "admin2"
def testCustomAdminSiteLoginForm(self):
@@ -816,7 +816,7 @@ def get_perm(Model, perm):
class AdminViewPermissionsTest(TestCase):
"""Tests for Admin Views Permissions."""
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -1257,7 +1257,7 @@ def testDisabledPermissionsWhenLoggedIn(self):
class AdminViewsNoUrlTest(TestCase):
"""Regression test for #17333"""
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -1287,7 +1287,7 @@ def test_no_standard_modeladmin_urls(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminViewDeletedObjectsTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml', 'deleted-objects.xml']
def setUp(self):
@@ -1405,7 +1405,7 @@ def test_generic_relations(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminViewStringPrimaryKeyTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml', 'string-primary-key.xml']
def __init__(self, *args):
@@ -1526,7 +1526,7 @@ def test_change_view_history_link(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class SecureViewTests(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -1686,7 +1686,7 @@ def test_shortcut_view_only_available_to_staff(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminViewUnicodeTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-unicode.xml']
def setUp(self):
@@ -1741,7 +1741,7 @@ def testUnicodeDelete(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminViewListEditable(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml', 'admin-views-person.xml']
def setUp(self):
@@ -2118,7 +2118,7 @@ def test_pk_hidden_fields_with_list_display_links(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminSearchTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users', 'multiple-child-classes',
'admin-views-person']
@@ -2166,7 +2166,7 @@ def test_beginning_matches(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminInheritedInlinesTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -2254,7 +2254,7 @@ def testInline(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminActionsTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml', 'admin-views-actions.xml']
def setUp(self):
@@ -2473,7 +2473,7 @@ def test_popup_actions(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class TestCustomChangeList(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
urlbit = 'admin'
@@ -2502,7 +2502,7 @@ def test_custom_changelist(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class TestInlineNotEditable(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -2522,7 +2522,7 @@ def test(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminCustomQuerysetTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -2748,7 +2748,7 @@ def test_edit_model_modeladmin_only_qs(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminInlineFileUploadTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml', 'admin-views-actions.xml']
urlbit = 'admin'
@@ -2795,7 +2795,7 @@ def test_inline_file_upload_edit_validation_error_post(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminInlineTests(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -3114,7 +3114,7 @@ def test_ordered_inline(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class NeverCacheTests(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml', 'admin-views-colors.xml', 'admin-views-fabrics.xml']
def setUp(self):
@@ -3188,7 +3188,7 @@ def testJsi18n(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class PrePopulatedTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -3225,7 +3225,7 @@ 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 = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def test_prepopulated_fields(self):
@@ -3356,7 +3356,7 @@ class SeleniumAdminViewsIETests(SeleniumAdminViewsFirefoxTests):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class ReadonlyTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -3444,7 +3444,7 @@ def test_change_form_renders_correct_null_choice_value(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class RawIdFieldsTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -3482,7 +3482,7 @@ class UserAdminTest(TestCase):
"""
Tests user CRUD functionality.
"""
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -3583,7 +3583,7 @@ class GroupAdminTest(TestCase):
"""
Tests group CRUD functionality.
"""
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -3612,7 +3612,7 @@ def test_group_permission_performance(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class CSSTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -3668,7 +3668,7 @@ def test_index_css_classes(self):
@unittest.skipUnless(docutils, "no docutils installed.")
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminDocsTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -3711,7 +3711,7 @@ def test_filters(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class ValidXHTMLTests(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
urlbit = 'admin'
@@ -3735,7 +3735,7 @@ def testLangNamePresent(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class DateHierarchyTests(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -3867,7 +3867,7 @@ class AdminCustomSaveRelatedTests(TestCase):
Ensure that one can easily customize the way related objects are saved.
Refs #16115.
"""
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -3932,7 +3932,7 @@ def test_should_be_able_to_edit_related_objects_on_changelist_view(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminViewLogoutTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -3961,7 +3961,7 @@ def test_client_logout_url_can_be_used_to_login(self):
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
class AdminUserMessageTest(TestCase):
- urls = "regressiontests.admin_views.urls"
+ urls = "admin_views.urls"
fixtures = ['admin-views-users.xml']
def setUp(self):
@@ -460,7 +460,7 @@ def test_no_can_add_related(self):
class DateTimePickerSeleniumFirefoxTests(AdminSeleniumWebDriverTestCase):
webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'
fixtures = ['admin-widgets-users.xml']
- urls = "regressiontests.admin_widgets.urls"
+ urls = "admin_widgets.urls"
def test_show_hide_date_time_picker_widgets(self):
"""
@@ -516,7 +516,7 @@ class DateTimePickerSeleniumIETests(DateTimePickerSeleniumFirefoxTests):
class HorizontalVerticalFilterSeleniumFirefoxTests(AdminSeleniumWebDriverTestCase):
webdriver_class = 'selenium.webdriver.firefox.webdriver.WebDriver'
fixtures = ['admin-widgets-users.xml']
- urls = "regressiontests.admin_widgets.urls"
+ urls = "admin_widgets.urls"
def setUp(self):
self.lisa = models.Student.objects.create(name='Lisa')
Oops, something went wrong.

0 comments on commit 33836cf

Please sign in to comment.