[cse491] Unit test question

C. Titus Brown ctb at msu.edu
Tue Oct 13 18:08:57 PDT 2009


chmod -x test_*.py

To avoid running test runner scripts, nose ignores executable files by default.

--titus

On Tue, Oct 13, 2009 at 04:26:52PM -0700, Maitland Marsh wrote:
> I tried running nosetests for webserve.py, with the test_webserve.py file in
> the same directory, after sourcing in your python env on adriatic, and I get
> this message:
> 
> <145 adriatic:~/cse491/hw5 >nosetests
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.004s
> 
> OK
> <146 adriatic:~/cse491/hw5 >
> 
> Not sure why it's running 0 tests.
> I looked through the mailing list traffic for this hw and didn't see
> anything pertaining to this.
> 
> Thanks,
> Maitland

-- 
C. Titus Brown, ctb at msu.edu



More information about the cse491-fall-2009 mailing list