rename project name to HttpRunner

This commit is contained in:
httprunner
2017-11-05 11:41:16 +08:00
parent 588cb51338
commit 0f01ae93c7
8 changed files with 31 additions and 29 deletions

View File

@@ -1 +1 @@
__version__ = '0.7.8'
__version__ = '0.7.9'

View File

@@ -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())

View File

@@ -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)