def __init__(self): test = lcc.Test("mytest", "My Test", dummy_test_callback()) test.disabled = True add_test_into_suite(test, self)
def __init__(self): for i in 1, 2, 3: add_test_into_suite( lcc.Test("mytest_%d" % i, "My Test %d" % i, dummy_test_callback()), self)
def __init__(self): add_test_into_suite(lcc.Test("mytest", "My Test", SomeTest()), self)
def __init__(self): add_test_into_suite(lcc.Test("mytest", "My Test", self.func), self)
def __init__(self): add_test_into_suite( lcc.Test("mytest", "First test", dummy_test_callback()), self) add_test_into_suite( lcc.Test("mytest", "Second test", dummy_test_callback()), self)
def __init__(self): def test_func(): lcc.log_info("somelog") test = lcc.Test("mytest", "My Test", test_func) add_test_into_suite(test, self)