From 3bbcec0aba81b626a26c19736dbac49999007d6c Mon Sep 17 00:00:00 2001 From: Ramiro Morales Date: Sun, 3 Mar 2013 17:03:11 -0300 Subject: [PATCH] Removed mentions of regressiontests. --- django/contrib/gis/tests/geoapp/test_feeds.py | 2 +- django/contrib/gis/tests/geoapp/test_sitemaps.py | 2 +- docs/intro/contributing.txt | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/django/contrib/gis/tests/geoapp/test_feeds.py b/django/contrib/gis/tests/geoapp/test_feeds.py index 85e777ae78c..c9cf6362c16 100644 --- a/django/contrib/gis/tests/geoapp/test_feeds.py +++ b/django/contrib/gis/tests/geoapp/test_feeds.py @@ -22,7 +22,7 @@ class GeoFeedTest(TestCase): Site._meta.installed = self.old_Site_meta_installed def assertChildNodes(self, elem, expected): - "Taken from regressiontests/syndication/tests.py." + "Taken from syndication/tests.py." actual = set([n.nodeName for n in elem.childNodes]) expected = set(expected) self.assertEqual(actual, expected) diff --git a/django/contrib/gis/tests/geoapp/test_sitemaps.py b/django/contrib/gis/tests/geoapp/test_sitemaps.py index 5f063dfba31..aa2d97032c0 100644 --- a/django/contrib/gis/tests/geoapp/test_sitemaps.py +++ b/django/contrib/gis/tests/geoapp/test_sitemaps.py @@ -24,7 +24,7 @@ class GeoSitemapTest(TestCase): Site._meta.installed = self.old_Site_meta_installed def assertChildNodes(self, elem, expected): - "Taken from regressiontests/syndication/tests.py." + "Taken from syndication/tests.py." actual = set([n.nodeName for n in elem.childNodes]) expected = set(expected) self.assertEqual(actual, expected) diff --git a/docs/intro/contributing.txt b/docs/intro/contributing.txt index f9fb451b397..0078435601b 100644 --- a/docs/intro/contributing.txt +++ b/docs/intro/contributing.txt @@ -238,7 +238,7 @@ widget. Before we make those changes though, we're going to write a couple tests to verify that our modification functions correctly and continues to function correctly in the future. -Navigate to Django's ``tests/regressiontests/admin_widgets/`` folder and +Navigate to Django's ``tests/admin_widgets/`` folder and open the ``tests.py`` file. Add the following code on line 269 right before the ``AdminFileWidgetTest`` class:: @@ -468,10 +468,10 @@ This patch file contains all your changes and should look this: Relationship fields =================== - diff --git a/tests/regressiontests/admin_widgets/tests.py b/tests/regressiontests/admin_widgets/tests.py + diff --git a/tests/admin_widgets/tests.py b/tests/admin_widgets/tests.py index 4b11543..94acc6d 100644 - --- a/tests/regressiontests/admin_widgets/tests.py - +++ b/tests/regressiontests/admin_widgets/tests.py + --- a/tests/admin_widgets/tests.py + +++ b/tests/admin_widgets/tests.py @@ -265,6 +265,35 @@ class AdminSplitDateTimeWidgetTest(DjangoTestCase): '

Datum:
Zeit:

', )