diff options
author | Matthew Schinckel <matt@schinckel.net> | 2016-04-09 11:48:28 +0930 |
---|---|---|
committer | Matthew Schinckel <matt@schinckel.net> | 2016-04-09 11:48:28 +0930 |
commit | 52f364262d947b8a5c925b699accf52f526249cb (patch) | |
tree | 4e144d7d1ee4c452c4b92a538950b5e26517c754 | |
parent | abb070d098e5a4a687609d5afd6b8007ea54e504 (diff) | |
download | tox-52f364262d947b8a5c925b699accf52f526249cb.tar.gz |
Improve doc strings.
-rw-r--r-- | tox/hookspecs.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tox/hookspecs.py b/tox/hookspecs.py index ffd6379..db589ed 100644 --- a/tox/hookspecs.py +++ b/tox/hookspecs.py @@ -45,9 +45,15 @@ def tox_testenv_install_deps(venv, action): @hookspec def tox_runtest_pre(venv): - """ [experimental] perform arbitrary action before running tests. """ + """ [experimental] perform arbitrary action before running tests for this venv. + + This could be used to indicate that tests for a given venv have started, for intstance. + """ @hookspec def tox_runtest_post(venv): - """ [experimental] perform arbitrary action after running tests. """ + """ [experimental] perform arbitrary action after running tests for this venv. + + This could be used to have per-venv test reporting of pass/fail status. + """ |