diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-09-22 19:38:30 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-09-22 19:38:30 +0000 |
commit | 5336d3d8b2e78ad271773fd3af0cdf3777c5c58e (patch) | |
tree | e61ee790325f72abf6ca45e88365b37cbe6ff8be /dev-python/django/files | |
parent | Delete older ebuild. (diff) | |
download | historical-5336d3d8b2e78ad271773fd3af0cdf3777c5c58e.tar.gz historical-5336d3d8b2e78ad271773fd3af0cdf3777c5c58e.tar.bz2 historical-5336d3d8b2e78ad271773fd3af0cdf3777c5c58e.zip |
Version bump. Fixed CVE-2010-3082 (bug #336594). Improve pysqlite dependencies (bug #334801). Fixed building with Sphinx 1.0 (bug #331689).
Package-Manager: portage-2.2_rc86_p1/cvs/Linux x86_64
Diffstat (limited to 'dev-python/django/files')
-rw-r--r-- | dev-python/django/files/django-1.2.3-fix_tests.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/django/files/django-1.2.3-fix_tests.patch b/dev-python/django/files/django-1.2.3-fix_tests.patch new file mode 100644 index 000000000000..c217c93ad9f5 --- /dev/null +++ b/dev-python/django/files/django-1.2.3-fix_tests.patch @@ -0,0 +1,42 @@ +http://code.djangoproject.com/changeset/13750 +http://code.djangoproject.com/changeset/13764 + +--- tests/regressiontests/admin_views/tests.py ++++ tests/regressiontests/admin_views/tests.py +@@ -2206,16 +2206,19 @@ + self.assertContains(response, "<h2>Built-in tags</h2>", count=2) + + # A builtin tag exists in both the index and detail +- self.assertContains(response, '<h3 id="autoescape">autoescape</h3>') +- self.assertContains(response, '<li><a href="#autoescape">autoescape</a></li>') ++ self.assertContains(response, '<h3 id="built_in-autoescape">autoescape</h3>') ++ self.assertContains(response, '<li><a href="#built_in-autoescape">autoescape</a></li>') + + # An app tag exists in both the index and detail +- # The builtin tag group exists ++ self.assertContains(response, '<h3 id="comments-get_comment_count">get_comment_count</h3>') ++ self.assertContains(response, '<li><a href="#comments-get_comment_count">get_comment_count</a></li>') ++ ++ # The admin list tag group exists + self.assertContains(response, "<h2>admin_list</h2>", count=2) + +- # A builtin tag exists in both the index and detail +- self.assertContains(response, '<h3 id="autoescape">autoescape</h3>') +- self.assertContains(response, '<li><a href="#admin_actions">admin_actions</a></li>') ++ # An admin list tag exists in both the index and detail ++ self.assertContains(response, '<h3 id="admin_list-admin_actions">admin_actions</h3>') ++ self.assertContains(response, '<li><a href="#admin_list-admin_actions">admin_actions</a></li>') + + def test_filters(self): + response = self.client.get('/test_admin/admin/doc/filters/') +@@ -2224,8 +2227,8 @@ + self.assertContains(response, "<h2>Built-in filters</h2>", count=2) + + # A builtin filter exists in both the index and detail +- self.assertContains(response, '<h3 id="add">add</h3>') +- self.assertContains(response, '<li><a href="#add">add</a></li>') ++ self.assertContains(response, '<h3 id="built_in-add">add</h3>') ++ self.assertContains(response, '<li><a href="#built_in-add">add</a></li>') + + except ImportError: + pass |