def test_file_import_hasfile_is_expected_list(self): root_path = os.path.dirname(__file__) yml_file = os.path.join(root_path, "tools-list.yml") result = import_yml(yml_file) self.assertEqual(self.expected, result)
def test_file_import_hasfile_is_not_none(self): root_path = os.path.dirname(__file__) yml_file = os.path.join(root_path, "tools-list.yml") result = import_yml(yml_file) self.assertIsNotNone(result)