summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2013-04-23 23:35:11 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2013-04-23 23:35:11 +0200
commit44883effdac471edaf893566f3aac83450d49159 (patch)
tree4eb7c4f162b2ebbe0f403ff0cbf2f020892727f6
parent100024533b6bf297228ffccf7230fcaad136edb9 (diff)
downloadpyramid-44883effdac471edaf893566f3aac83450d49159.tar.gz
pyramid-44883effdac471edaf893566f3aac83450d49159.tar.bz2
pyramid-44883effdac471edaf893566f3aac83450d49159.zip
replace deprecated method
-rw-r--r--docs/tutorials/wiki/src/models/tutorial/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials/wiki/src/models/tutorial/tests.py b/docs/tutorials/wiki/src/models/tutorial/tests.py
index 9fd13a18d..0c5f99575 100644
--- a/docs/tutorials/wiki/src/models/tutorial/tests.py
+++ b/docs/tutorials/wiki/src/models/tutorial/tests.py
@@ -45,7 +45,7 @@ class AppmakerTests(unittest.TestCase):
app_root = object()
root = {'app_root': app_root}
self._callFUT(root)
- self.failUnless(root['app_root'] is app_root)
+ self.assertTrue(root['app_root'] is app_root)
class ViewTests(unittest.TestCase):
def setUp(self):