mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-23 17:29:58 +08:00
HttpSession can be called with full url or with only path
This commit is contained in:
@@ -5,8 +5,8 @@ from ate.context import Context
|
||||
|
||||
class TestRunner(object):
|
||||
|
||||
def __init__(self):
|
||||
self.client = HttpSession()
|
||||
def __init__(self, base_url=None):
|
||||
self.client = HttpSession(base_url)
|
||||
self.context = Context()
|
||||
|
||||
def init_context(self, config_dict, level):
|
||||
|
||||
Reference in New Issue
Block a user