mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-28 20:09:36 +08:00
remove functions from utils
This commit is contained in:
@@ -4,7 +4,6 @@ import unittest
|
||||
|
||||
import requests
|
||||
from httprunner import context, exceptions, loader, parser, response, runner
|
||||
from httprunner.utils import gen_md5
|
||||
from tests.base import ApiServerUnittest
|
||||
|
||||
|
||||
@@ -120,6 +119,7 @@ class TestContext(ApiServerUnittest):
|
||||
{"authorization": "${gen_md5($TOKEN, $data, $random)}"}
|
||||
]
|
||||
from tests import debugtalk
|
||||
from tests.debugtalk import gen_md5
|
||||
self.context.import_module_items(debugtalk)
|
||||
self.context.bind_variables(variables)
|
||||
context_variables = self.context.testcase_variables_mapping
|
||||
|
||||
Reference in New Issue
Block a user