diff options
| author | Steve Piercy <web@stevepiercy.com> | 2019-12-28 02:57:30 -0800 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2020-01-02 23:30:59 -0800 |
| commit | 4ca67df229426972ff9a785abc060b4a33dfe953 (patch) | |
| tree | bf6357925493fb86c1db23f5e846226ebf66f661 | |
| parent | 48ad0860bee87c71cddea76de841dd91a16cd0fe (diff) | |
| download | pyramid-4ca67df229426972ff9a785abc060b4a33dfe953.tar.gz pyramid-4ca67df229426972ff9a785abc060b4a33dfe953.tar.bz2 pyramid-4ca67df229426972ff9a785abc060b4a33dfe953.zip | |
Update reference to tests in testing.rst
| -rw-r--r-- | docs/narr/testing.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/narr/testing.rst b/docs/narr/testing.rst index 2182082a8..ec2d1fad1 100644 --- a/docs/narr/testing.rst +++ b/docs/narr/testing.rst @@ -411,9 +411,8 @@ The following example functional test demonstrates invoking the above :pyobject: FunctionalTests :language: python -When this test is run, each test method creates a "real" :term:`WSGI` -application using the ``main`` function in your ``myproject.__init__`` module, -using :term:`WebTest` to wrap that WSGI application. It assigns the result to +When these tests are run, each test method creates a "real" :term:`WSGI` application using the ``main`` function in your ``myproject.__init__`` module, using :term:`WebTest` to wrap that WSGI application. +It assigns the result to ``self.testapp``. In the test named ``test_root``, the ``TestApp``'s ``GET`` method is used to invoke the root URL. Finally, an assertion is made that the returned HTML contains the text ``Pyramid``. |
