Esempio n. 1
0
 def test_load_folder_content(self):
     path = os.path.join(os.getcwd(), "tests", "api")
     items_mapping = loader.load_folder_content(path)
     file_path = os.path.join(os.getcwd(), "tests", "api", "basic.yml")
     self.assertIn(file_path, items_mapping)
     self.assertIsInstance(items_mapping[file_path], list)
Esempio n. 2
0
 def test_load_folder_content(self):
     path = os.path.join(os.getcwd(), 'tests', 'api')
     items_mapping = loader.load_folder_content(path)
     file_path = os.path.join(os.getcwd(), 'tests', 'api', 'basic.yml')
     assert file_path in items_mapping
     assert isinstance(items_mapping[file_path], list)