diff options
author | Marc Abramowitz <marc@marc-abramowitz.com> | 2012-11-22 22:27:15 -0800 |
---|---|---|
committer | Marc Abramowitz <marc@marc-abramowitz.com> | 2012-11-22 22:27:15 -0800 |
commit | 40efdf9719b8dfd291d96cf60aaa80592b71ba53 (patch) | |
tree | 09ff828b69b898d90106f4d992870d02ac92e5e4 /tox/_quickstart.py | |
parent | f64f239282c2459279299152c7766de9a46334a0 (diff) | |
download | tox-40efdf9719b8dfd291d96cf60aaa80592b71ba53.tar.gz |
Automatically add "nose" to deps when the selected test runner is nosetests
Diffstat (limited to 'tox/_quickstart.py')
-rw-r--r-- | tox/_quickstart.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tox/_quickstart.py b/tox/_quickstart.py index 099fa3f..9d94c66 100644 --- a/tox/_quickstart.py +++ b/tox/_quickstart.py @@ -167,6 +167,8 @@ What command should be used to test your project -- examples: default_deps = ' ' if 'py.test' in d['commands']: default_deps = 'pytest' + if 'nosetests' in d['commands']: + default_deps = 'nose' print(''' What dependencies does your project have?''') |