I have a set of tests implemented with unittest, which are run automatically. I would like to run them at most once an hour and I have a method checking this condition, and returns True (if it's ok to run them) or False (if should exit tests).
How can I integrate this with unittest such that setUpClass or setUp methods exit (and do not fail) if the check function returns False?
PS: I am using python 2.6, so I can't use these