update loader.load

This commit is contained in:
httprunner
2018-08-09 13:20:20 +08:00
parent 1ef982b219
commit 87d24ad13e
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)