Skip to content

Commit

Permalink
Removed mentions of regressiontests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiro committed Mar 3, 2013
1 parent b013810 commit 3bbcec0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion django/contrib/gis/tests/geoapp/test_feeds.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def tearDown(self):
Site._meta.installed = self.old_Site_meta_installed Site._meta.installed = self.old_Site_meta_installed


def assertChildNodes(self, elem, expected): 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]) actual = set([n.nodeName for n in elem.childNodes])
expected = set(expected) expected = set(expected)
self.assertEqual(actual, expected) self.assertEqual(actual, expected)
Expand Down
2 changes: 1 addition & 1 deletion django/contrib/gis/tests/geoapp/test_sitemaps.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def tearDown(self):
Site._meta.installed = self.old_Site_meta_installed Site._meta.installed = self.old_Site_meta_installed


def assertChildNodes(self, elem, expected): 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]) actual = set([n.nodeName for n in elem.childNodes])
expected = set(expected) expected = set(expected)
self.assertEqual(actual, expected) self.assertEqual(actual, expected)
Expand Down
8 changes: 4 additions & 4 deletions docs/intro/contributing.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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 tests to verify that our modification functions correctly and continues to
function correctly in the future. 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 open the ``tests.py`` file. Add the following code on line 269 right before the
``AdminFileWidgetTest`` class:: ``AdminFileWidgetTest`` class::


Expand Down Expand Up @@ -468,10 +468,10 @@ This patch file contains all your changes and should look this:


Relationship fields 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 index 4b11543..94acc6d 100644
--- a/tests/regressiontests/admin_widgets/tests.py --- a/tests/admin_widgets/tests.py
+++ b/tests/regressiontests/admin_widgets/tests.py +++ b/tests/admin_widgets/tests.py
@@ -265,6 +265,35 @@ class AdminSplitDateTimeWidgetTest(DjangoTestCase): @@ -265,6 +265,35 @@ class AdminSplitDateTimeWidgetTest(DjangoTestCase):
'<p class="datetime">Datum: <input value="01.12.2007" type="text" class="vDateField" name="test_0" size="10" /><br />Zeit: <input value="09:30:00" type="text" class="vTimeField" name="test_1" size="8" /></p>', '<p class="datetime">Datum: <input value="01.12.2007" type="text" class="vDateField" name="test_0" size="10" /><br />Zeit: <input value="09:30:00" type="text" class="vTimeField" name="test_1" size="8" /></p>',
) )
Expand Down

0 comments on commit 3bbcec0

Please sign in to comment.