示例#1
0
 def test_host_based_testrun_with_test_definition_tests(self):
     options = Options()
     options.hosttest = "test-definition-tests"
     options.packages = ""
     tid = SystemTest(self).run(options).verify(Result.PASS).id()
     assert_log_page_does_not_contain_messages(self, tid, [
         "Environment: Hardware"])
示例#2
0
 def test_testrun_with_filter(self):
     options = Options()
     options.packages = "testrunner-lite-regression-tests"
     options.testfilter = "testcase=trlitereg01,trlitereg02"
     tid = SystemTest(self).run(options).verify(Result.PASS).id()
     assert_log_page_contains_messages(self, tid, [
         "Test case quoting_01 is filtered",
         "Test case quoting_01 is filtered",
         "Executed 2 cases. Passed 2 Failed 0"])
     assert_log_page_does_not_contain_messages(self, tid, [
         "Test case trlitereg01 is filtered",
         "Test case trlitereg02 is filtered"])
示例#3
0
 def test_testrun_with_filter(self):
     options = Options()
     options.packages = "testrunner-lite-regression-tests"
     options.testfilter = "testcase=trlitereg01,trlitereg02"
     tid = SystemTest(self).run(options).verify(Result.PASS).id()
     assert_log_page_contains_messages(
         self,
         tid,
         [
             "Test case quoting_01 is filtered",
             "Test case quoting_01 is filtered",
             "Executed 2 cases. Passed 2 Failed 0",
         ],
     )
     assert_log_page_does_not_contain_messages(
         self, tid, ["Test case trlitereg01 is filtered", "Test case trlitereg02 is filtered"]
     )
示例#4
0
 def test_host_based_testrun_with_test_definition_tests(self):
     options = Options()
     options.hosttest = "test-definition-tests"
     options.packages = ""
     tid = SystemTest(self).run(options).verify(Result.PASS).id()
     assert_log_page_does_not_contain_messages(self, tid, ["Environment: Hardware"])