update loader.load

This commit is contained in:
debugtalk
2018-08-09 13:20:20 +08:00
parent ad916c032d
commit a4fc8888c7
2 changed files with 30 additions and 22 deletions

View File

@@ -745,8 +745,5 @@ def load(path):
list: testcases list
"""
if validator.is_testcases(path):
return path
_load_test_dependencies()
return load_testcases(path)