filter if files do not include testcases

This commit is contained in:
debugtalk
2017-08-30 12:18:32 +08:00
parent 8e9e9d6c57
commit bf117b671c
2 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ class TestUtils(ApiServerUnittest):
# absolute folder path
path = os.path.join(os.getcwd(), 'tests/data')
testset_list_1 = utils.load_testcases_by_path(path)
self.assertGreater(len(testset_list_1), 5)
self.assertGreater(len(testset_list_1), 4)
# relative folder path
path = 'tests/data/'