diff options
| author | Steve Piercy <web@stevepiercy.com> | 2018-10-04 17:09:06 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-04 17:09:06 -0700 |
| commit | d2c9dd9d0ae534a085c7adbff869de357714812b (patch) | |
| tree | c4a5c1925c06968952a5d961926f980dd26e27d8 /docs/narr/testing.rst | |
| parent | 052cb72b63b9f5a36f45a4135d1e1c05c10004dd (diff) | |
| parent | 9c39f657e9edbb59ef83a375500596f500c70a44 (diff) | |
| download | pyramid-d2c9dd9d0ae534a085c7adbff869de357714812b.tar.gz pyramid-d2c9dd9d0ae534a085c7adbff869de357714812b.tar.bz2 pyramid-d2c9dd9d0ae534a085c7adbff869de357714812b.zip | |
Merge pull request #3367 from prcutler/update-pytest-docs
Change all references of "py.test" to "pytest" in Pyramid 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 |
