rename function name, resolve conflict with unittest

This commit is contained in:
httprunner
2017-11-02 13:32:51 +08:00
parent 6165f91265
commit 4067328bf3
4 changed files with 16 additions and 16 deletions

View File

@@ -12,7 +12,7 @@ class VariableBindsUnittest(unittest.TestCase):
def setUp(self):
self.context = Context()
testcase_file_path = os.path.join(os.getcwd(), 'tests/data/demo_binds.yml')
self.testcases = testcase.load_tests(testcase_file_path)
self.testcases = testcase._load_file(testcase_file_path)
def test_context_init_functions(self):
self.assertIn("get_timestamp", self.context.testset_functions_config)