I have a Pylons 1.0 app with a bunch of tests in the test/functional directory. I\'m getting weird test results and I want to just run a single test. The nose documentation say
I have to add the ".py" file extension, that is,
r'/path_to/my_file.py:' + r'test_func_xy'
Maybe this is because I don't have any classes in the file.
Without the .py
, nose was complaining:
Can't find callable test_func_xy in file /path_to/my_file: file is not a python module
And this although I have an __init__.py
in the folder /path_to/
.