mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-17 23:17:35 +08:00
change: make built_in comparators and functions as submodule
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import requests
|
||||
|
||||
from httprunner import built_in, exceptions, loader, response
|
||||
from httprunner import exceptions, response
|
||||
from httprunner.compat import basestring, bytes
|
||||
from tests.api_server import HTTPBIN_SERVER
|
||||
from tests.base import ApiServerUnittest
|
||||
@@ -8,9 +8,6 @@ from tests.base import ApiServerUnittest
|
||||
|
||||
class TestResponse(ApiServerUnittest):
|
||||
|
||||
def setUp(self):
|
||||
self.functions_mapping = loader.load.load_module_functions(built_in)
|
||||
|
||||
def test_parse_response_object_json(self):
|
||||
url = "http://127.0.0.1:5000/api/users"
|
||||
resp = requests.get(url)
|
||||
|
||||
Reference in New Issue
Block a user