Nose will automatically run any function it finds in the project starting with test_*
. So, for example, if there is a function called:
"""
test_server_setup.py
sets up a pristine database to use for testing.
DO NOT RUN ON PROD
"""
def test_server_init():
drop_all_tables()
...then nose will run it when you run the command nosetests
from the root of the project. Is my only option to rename this function, or is there another way I can change the file so that nose ignores it?