diff options
| author | Paul Cutler <paul.r.cutler@gmail.com> | 2018-10-03 10:06:48 -0500 |
|---|---|---|
| committer | Paul Cutler <paul.r.cutler@gmail.com> | 2018-10-03 10:06:48 -0500 |
| commit | f9c3ff6db52f107f298852b92ecc945fbc26229c (patch) | |
| tree | 9011d9b20a045dda4b565b17a4f1dc9379791779 /docs/narr/testing.rst | |
| parent | d363b4ef2ac1463df99993841749c536aacbd07f (diff) | |
| download | pyramid-f9c3ff6db52f107f298852b92ecc945fbc26229c.tar.gz pyramid-f9c3ff6db52f107f298852b92ecc945fbc26229c.tar.bz2 pyramid-f9c3ff6db52f107f298852b92ecc945fbc26229c.zip | |
Change references to "py.test" in narrative documentation
Change reference of "py.test" to "pytest" per pytest 3.0 release
in the project and testing pages of narrative documentation
Diffstat (limited to 'docs/narr/testing.rst')
| -rw-r--r-- | docs/narr/testing.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/testing.rst b/docs/narr/testing.rst index ad4ba2186..8048ca62c 100644 --- a/docs/narr/testing.rst +++ b/docs/narr/testing.rst @@ -275,7 +275,7 @@ without needing to invoke the actual application configuration implied by its In the above example, we create a ``MyTest`` test case that inherits from :class:`unittest.TestCase`. If it's in our :app:`Pyramid` application, it will -be found when ``py.test`` is run. It has two test methods. +be found when ``pytest`` is run. It has two test methods. The first test method, ``test_view_fn_forbidden`` tests the ``view_fn`` when the authentication policy forbids the current user the ``edit`` permission. Its @@ -365,7 +365,7 @@ Functional tests test your literal application. In Pyramid, functional tests are typically written using the :term:`WebTest` package, which provides APIs for invoking HTTP(S) requests to your application. -We also like ``py.test`` and ``pytest-cov`` to provide simple testing and +We also like ``pytest`` and ``pytest-cov`` to provide simple testing and coverage reports. Regardless of which testing :term:`package` you use, be sure to add a |
