MCPcopy Index your code
hub / github.com/httprunner/httprunner / ensure_sql_ready

Function ensure_sql_ready

httprunner/step_sql_request.py:28–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27
28def ensure_sql_ready():
29 if SQL_READY:
30 return
31
32 msg = """
33 uploader extension dependencies uninstalled, install first and try again.
34 install with pip:
35 $ pip install sqlalchemy pymysql
36
37 or you can install httprunner with optional upload dependencies:
38 $ pip install "httprunner[sql]"
39 """
40 logger.error(msg)
41 sys.exit(1)
42
43
44def run_step_sql_request(runner: HttpRunner, step: TStep) -> StepResult:

Callers 1

run_step_sql_requestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected