Unittest - Add example of skipping taskd test on template.t
This commit is contained in:
@@ -50,6 +50,7 @@ class TestBugNumber(TestCase):
|
|||||||
"""Executed once after all tests in the class"""
|
"""Executed once after all tests in the class"""
|
||||||
|
|
||||||
|
|
||||||
|
@unittest.skipIf(Taskd.not_available(), "Taskd binary not available")
|
||||||
class ServerTestCase(unittest.TestCase):
|
class ServerTestCase(unittest.TestCase):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
|
|||||||
Reference in New Issue
Block a user