[TIP] Nose Test Discovery - Am I doing it wrong?
Casey McGinty
casey.mcginty at gmail.com
Tue Dec 2 02:43:30 PST 2008
Please tell if this is correct behavior when using nose. Assume I have a
python file called 'myscript.py':
$ ls .
myscript.py
...
$ cat myscript.py
def test():
pass
$ nosetests
----------------------------------------------------------------------
Ran 0 tests in 0.006s
OK
Why doesn't nose run my test in my script file?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.idyll.org/pipermail/testing-in-python/attachments/20081202/8dffdfc9/attachment.htm
More information about the testing-in-python
mailing list