mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-11 02:39:46 +08:00
rename project name to HttpRunner
This commit is contained in:
@@ -1 +1 @@
|
||||
__version__ = '0.7.8'
|
||||
__version__ = '0.7.9'
|
||||
@@ -38,7 +38,7 @@ def main_ate():
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.version:
|
||||
print("ApiTestEngine version: {}".format(__version__))
|
||||
print("HttpRunner version: {}".format(__version__))
|
||||
exit(0)
|
||||
|
||||
log_level = getattr(logging, args.log_level.upper())
|
||||
|
||||
@@ -31,7 +31,7 @@ class ApiResponse(Response):
|
||||
class HttpSession(requests.Session):
|
||||
"""
|
||||
Class for performing HTTP requests and holding (session-) cookies between requests (in order
|
||||
to be able to log in and out of websites). Each request is logged so that ApiTestEngine can
|
||||
to be able to log in and out of websites). Each request is logged so that HttpRunner can
|
||||
display statistics.
|
||||
|
||||
This is a slightly extended version of `python-request <http://python-requests.org>`_'s
|
||||
@@ -39,7 +39,7 @@ class HttpSession(requests.Session):
|
||||
the methods for making requests (get, post, delete, put, head, options, patch, request)
|
||||
can now take a *url* argument that's only the path part of the URL, in which case the host
|
||||
part of the URL will be prepended with the HttpSession.base_url which is normally inherited
|
||||
from a ApiTestEngine class' host property.
|
||||
from a HttpRunner class' host property.
|
||||
"""
|
||||
def __init__(self, base_url=None, *args, **kwargs):
|
||||
super(HttpSession, self).__init__(*args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user