mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
change: log httprunner version
This commit is contained in:
@@ -53,6 +53,7 @@ def main_run(extra_args) -> enum.IntEnum:
|
|||||||
extra_args_new.append("--tb=short")
|
extra_args_new.append("--tb=short")
|
||||||
|
|
||||||
extra_args_new.extend(testcase_path_list)
|
extra_args_new.extend(testcase_path_list)
|
||||||
|
logger.info(f"start to run tests with pytest. HttpRunner version: {__version__}")
|
||||||
return pytest.main(extra_args_new)
|
return pytest.main(extra_args_new)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import os
|
|||||||
import time
|
import time
|
||||||
import uuid
|
import uuid
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from typing import List, Dict, Text, NoReturn, Union
|
from typing import List, Dict, Text, NoReturn
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import allure
|
import allure
|
||||||
|
|||||||
Reference in New Issue
Block a user