diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-04-23 23:35:11 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-04-23 23:35:11 +0200 |
| commit | 44883effdac471edaf893566f3aac83450d49159 (patch) | |
| tree | 4eb7c4f162b2ebbe0f403ff0cbf2f020892727f6 | |
| parent | 100024533b6bf297228ffccf7230fcaad136edb9 (diff) | |
| download | pyramid-44883effdac471edaf893566f3aac83450d49159.tar.gz pyramid-44883effdac471edaf893566f3aac83450d49159.tar.bz2 pyramid-44883effdac471edaf893566f3aac83450d49159.zip | |
replace deprecated method
| -rw-r--r-- | docs/tutorials/wiki/src/models/tutorial/tests.py | 2 |
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): |
