From 8a9b0c15a6c0ef60dea3ba3042317520bc201206 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 31 Dec 2014 11:25:11 -0500 Subject: [PATCH] Renamed tests for util -> utils moves; refs #17627. --- tests/{admin_util => admin_utils}/__init__.py | 0 tests/{admin_util => admin_utils}/models.py | 0 tests/{admin_util => admin_utils}/tests.py | 2 +- tests/forms_tests/tests/{test_util.py => test_utils.py} | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename tests/{admin_util => admin_utils}/__init__.py (100%) rename tests/{admin_util => admin_utils}/models.py (100%) rename tests/{admin_util => admin_utils}/tests.py (99%) rename tests/forms_tests/tests/{test_util.py => test_utils.py} (99%) diff --git a/tests/admin_util/__init__.py b/tests/admin_utils/__init__.py similarity index 100% rename from tests/admin_util/__init__.py rename to tests/admin_utils/__init__.py diff --git a/tests/admin_util/models.py b/tests/admin_utils/models.py similarity index 100% rename from tests/admin_util/models.py rename to tests/admin_utils/models.py diff --git a/tests/admin_util/tests.py b/tests/admin_utils/tests.py similarity index 99% rename from tests/admin_util/tests.py rename to tests/admin_utils/tests.py index dd2130e484..01710e51ce 100644 --- a/tests/admin_util/tests.py +++ b/tests/admin_utils/tests.py @@ -90,7 +90,7 @@ class NestedObjectsTests(TestCase): n.collect([Vehicle.objects.first()]) -class UtilTests(TestCase): +class UtilsTests(TestCase): def test_values_from_lookup_field(self): """ Regression test for #12654: lookup_field diff --git a/tests/forms_tests/tests/test_util.py b/tests/forms_tests/tests/test_utils.py similarity index 99% rename from tests/forms_tests/tests/test_util.py rename to tests/forms_tests/tests/test_utils.py index c37affeb31..6e40e7565c 100644 --- a/tests/forms_tests/tests/test_util.py +++ b/tests/forms_tests/tests/test_utils.py @@ -12,7 +12,7 @@ from django.utils.translation import ugettext_lazy from django.utils.encoding import python_2_unicode_compatible -class FormsUtilTestCase(TestCase): +class FormsUtilsTestCase(TestCase): # Tests for forms/utils.py module. def test_flatatt(self):