mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-14 18:27:36 +08:00
refactor: change function name to avoid conflict with unittest loader
This commit is contained in:
@@ -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"}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user