fix: unittests

This commit is contained in:
debugtalk
2020-05-16 15:04:52 +08:00
parent 1e61ceebae
commit 975f01d22f
3 changed files with 151 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ class TestLoader(unittest.TestCase):
def test_load_folder_files(self):
folder = os.path.join(os.getcwd(), "examples")
file1 = os.path.join(os.getcwd(), "examples", "test_utils.py")
file2 = os.path.join(os.getcwd(), "examples", "httpbin", "basic.yml")
file2 = os.path.join(os.getcwd(), "examples", "httpbin", "hooks.yml")
files = loader.load_folder_files(folder, recursive=False)
self.assertEqual(files, [])