def run_tests(self): # Run the nose ensuring that argv simulates running nosetests directly import nose nose.run_exit(argv=['nosetests'])