diff options
| author | Kevin Yap <me@kevinyap.ca> | 2014-05-31 13:52:55 -0700 |
|---|---|---|
| committer | Armin Ronacher <armin.ronacher@active-4.com> | 2014-06-01 12:13:31 +0600 |
| commit | 67523af3550c99afc29e1c6ce0b1581c45098c56 (patch) | |
| tree | c0e0636e7e844e4b7e2478faa53bb1c2ba971384 /docs/testing.rst | |
| parent | f48761a0566c25f7fe398ba5ba5bee7dfcfe168d (diff) | |
| download | click-67523af3550c99afc29e1c6ce0b1581c45098c56.tar.gz | |
Documentation fixes
Diffstat (limited to 'docs/testing.rst')
| -rw-r--r-- | docs/testing.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/testing.rst b/docs/testing.rst index d1ef471..6350499 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -7,9 +7,9 @@ For basic testing, click provides the :mod:`click.testing` module which provides test functionality that helps you invoke command line applications and check their behavior. -These tools really only should be used for testing as they are changing -the whole interpreter state for simplicity and they are not in any way -thread safe! +These tools should really only be used for testing as they change +the entire interpreter state for simplicity and are not in any way +thread-safe! Basic Testing ------------- @@ -19,8 +19,8 @@ The basic functionality for testing click applications is the :meth:`CliRunner.invoke` method runs the command line script in isolation and captures the output as both bytes and binary data. -The return value is a :class:`Result` object which has the captured output -data, exit code and optional exception attached. +The return value is a :class:`Result` object, which has the captured output +data, exit code, and optional exception attached. Example:: |
