Created
September 14, 2012 17:11
-
-
Save andreafrancia/3723298 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nose | |
class TestToBeRun: | |
def test_it_should_fail(self): | |
assert False | |
# possibly other test cases that should not be run | |
if __name__ == '__main__': | |
list_of_test_to_be_run=[TestToBeRun,] | |
nose.run() # How should I modify this line in order to run | |
# only the tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment