mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-23 05:17:41 +08:00
bugfix: instal with dependencies
This commit is contained in:
9
httprunner/__about__.py
Normal file
9
httprunner/__about__.py
Normal file
@@ -0,0 +1,9 @@
|
||||
__title__ = 'HttpRunner'
|
||||
__description__ = 'HTTP test runner, not just about api test and load test.'
|
||||
__url__ = 'https://github.com/HttpRunner/HttpRunner'
|
||||
__version__ = '0.9.6'
|
||||
__author__ = 'debugtalk'
|
||||
__author_email__ = 'mail@debugtalk.com'
|
||||
__license__ = 'MIT'
|
||||
__copyright__ = 'Copyright 2017 debugtalk'
|
||||
__cake__ = u'\u2728 \U0001f370 \u2728'
|
||||
@@ -1,3 +1 @@
|
||||
__version__ = '0.9.5a'
|
||||
|
||||
from httprunner.task import HttpRunner
|
||||
|
||||
@@ -4,8 +4,8 @@ import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
from httprunner import __version__ as hrun_version
|
||||
from httprunner import logger
|
||||
from httprunner.__about__ import __version__
|
||||
from httprunner.task import HttpRunner
|
||||
from httprunner.utils import create_scaffold, print_output, string_type
|
||||
|
||||
@@ -41,7 +41,7 @@ def main_hrun():
|
||||
logger.setup_logger(args.log_level)
|
||||
|
||||
if args.version:
|
||||
logger.color_print("{}".format(hrun_version), "GREEN")
|
||||
logger.color_print("{}".format(__version__), "GREEN")
|
||||
exit(0)
|
||||
|
||||
project_name = args.startproject
|
||||
|
||||
Reference in New Issue
Block a user