diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-04-23 01:26:58 +0300 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2013-04-23 01:26:58 +0300 |
| commit | 1bf894d55e6a536f31a8c4c2b99c29e96b3bd3a9 (patch) | |
| tree | 9a9933affdb1f03bb92b4326a7f6e8a0000bb4d6 /docs | |
| parent | 2eaa847998e55344206097bc1d6f211deada8086 (diff) | |
| download | pyramid-1bf894d55e6a536f31a8c4c2b99c29e96b3bd3a9.tar.gz pyramid-1bf894d55e6a536f31a8c4c2b99c29e96b3bd3a9.tar.bz2 pyramid-1bf894d55e6a536f31a8c4c2b99c29e96b3bd3a9.zip | |
replace deprecated method
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/testing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/testing.rst b/docs/narr/testing.rst index 56c62b996..de5a04f56 100644 --- a/docs/narr/testing.rst +++ b/docs/narr/testing.rst @@ -416,7 +416,7 @@ functional testing package written by Ian Bicking. def test_root(self): res = self.testapp.get('/', status=200) - self.failUnless('Pyramid' in res.body) + self.assertTrue('Pyramid' in res.body) When this test is run, each test creates a "real" WSGI application using the ``main`` function in your ``myapp.__init__`` module and uses :term:`WebTest` |
