Commit a067f43b authored by Tobias Pape's avatar Tobias Pape Committed by Stefan Marr

make som_test pytest-compat (krono uses this)

parent a9de8693
......@@ -33,3 +33,8 @@ class SomTest(unittest.TestCase):
u.interpret(args)
self.assertEquals(0, u.last_exit_code())
import sys
if sys.modules.has_key('pytest'):
# hack to make pytest not to collect the unexpanded test method
delattr(SomTest, "test_som_test")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment