refactor: change function name to avoid conflict with unittest loader

This commit is contained in:
debugtalk
2019-12-05 23:35:33 +08:00
parent 5e23c5226b
commit b3f8412fd3
10 changed files with 48 additions and 48 deletions

View File

@@ -8,7 +8,7 @@ from tests.base import ApiServerUnittest, gen_random_string
class TestContext(ApiServerUnittest):
def setUp(self):
loader.load_project_tests(os.path.join(os.getcwd(), "tests"))
loader.load_project_data(os.path.join(os.getcwd(), "tests"))
self.context = context.SessionContext(
variables={"SECRET_KEY": "DebugTalk"}
)