()
| 26 | |
| 27 | |
| 28 | def 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 | |
| 44 | def run_step_sql_request(runner: HttpRunner, step: TStep) -> StepResult: |
no outgoing calls
no test coverage detected