pombreda / python-nose

Automatically exported from code.google.com/p/python-nose
0 stars 0 forks source link

nosetests silently ignores bad -c options #281

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. echo 'def test_badopt(): pass' > test_bad_nosetests_option.py
2. nosetests -c BADPATH test_bad_nosetests_option.py
3. echo $?

What is the expected output? What do you see instead?
I expect nosetests to output an error message and return nonzero exit
status.  Instead nosetests executes the test and returns zero exit
status.

What version of the product are you using? On what operating system?
Tested with nosetests version 0.11.1 on both Ubuntu Linux 8.04 and Mac
OS X 10.5.7

Please provide any additional information below.
I expect this behavior for all file options.

Original issue reported on code.google.com by brandon....@gmail.com on 27 Jul 2009 at 10:04

GoogleCodeExporter commented 9 years ago
I'm not sure I agree that this should be a fatal error. A warning I can see, 
but I
would need to be convinced (on the dev list, not here) to do anything more than 
that.

Original comment by jpelle...@gmail.com on 27 Jul 2009 at 10:16