summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
authorTres Seaver <tseaver@palladion.com>2013-04-22 16:39:13 -0700
committerTres Seaver <tseaver@palladion.com>2013-04-22 16:39:13 -0700
commitaa66e5ffeadc24a76dd157df93e712988a3516bb (patch)
tree50344e2e5fdff17e2382deb9e326cd376f570929 /docs/narr
parent2eaa847998e55344206097bc1d6f211deada8086 (diff)
parent727508ba9a19955fb0f65e2dead3b578cee450c3 (diff)
downloadpyramid-aa66e5ffeadc24a76dd157df93e712988a3516bb.tar.gz
pyramid-aa66e5ffeadc24a76dd157df93e712988a3516bb.tar.bz2
pyramid-aa66e5ffeadc24a76dd157df93e712988a3516bb.zip
Merge pull request #998 from tshepang/patch-3
replace deprecated method
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/testing.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/testing.rst b/docs/narr/testing.rst
index 56c62b996..89ed038f2 100644
--- a/docs/narr/testing.rst
+++ b/docs/narr/testing.rst
@@ -373,7 +373,7 @@ after accessing some values that require a fully set up environment.
result = my_view(request)
self.assertEqual(result.status, '200 OK')
body = result.app_iter[0]
- self.failUnless('Welcome to' in body)
+ self.assertTrue('Welcome to' in body)
self.assertEqual(len(result.headerlist), 2)
self.assertEqual(result.headerlist[0],
('Content-Type', 'text/html; charset=UTF-8'))