mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-06 00:09:37 +08:00
refactor: rename unittest file name
This commit is contained in:
@@ -2,13 +2,13 @@ import argparse
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from loguru import logger
|
|
||||||
|
|
||||||
if len(sys.argv) >= 2 and sys.argv[1] == "locusts":
|
if len(sys.argv) >= 2 and sys.argv[1] == "locusts":
|
||||||
# monkey patch ssl at beginning to avoid RecursionError when running locust.
|
# monkey patch ssl at beginning to avoid RecursionError when running locust.
|
||||||
from gevent import monkey
|
from gevent import monkey
|
||||||
monkey.patch_ssl()
|
monkey.patch_ssl()
|
||||||
|
|
||||||
|
from loguru import logger
|
||||||
|
|
||||||
from httprunner import __description__, __version__
|
from httprunner import __description__, __version__
|
||||||
from httprunner.api import HttpRunner
|
from httprunner.api import HttpRunner
|
||||||
from httprunner.ext.har2case import init_har2case_parser, main_har2case
|
from httprunner.ext.har2case import init_har2case_parser, main_har2case
|
||||||
|
|||||||
Reference in New Issue
Block a user