def test_load_testrunner_expected_testrunner_is_present_in_result(self):
     """ Test whether the expected testrunner is present in the result
     """
     test_type = {
         'test-runner':
         "acceptance_tester.tests.framework.test_load_testrunner.MockRunner"
     }
     result = lt.load_testrunner(test_type, "testrunner-config")
     self.assertEqual("MockRunner", result['test-runner'].__name__)
 def test_load_testrunner_no_resource_manager_is_present_in_result_if_not_present_in_definition(
         self):
     """ Test that no resource-manager is present in the result, if not present in the testdefinition
     """
     test_type = {
         'test-runner':
         "acceptance_tester.tests.framework.test_load_testrunner.MockRunner",
         'xsd': "path/to/xsd/file"
     }
     result = lt.load_testrunner(test_type, "testrunner-config")
     self.assertTrue('resource-manager' not in result)