环境:python3.7.5
Httprunner:3.1.4
在我本机是运行 ok 的,但是放 jenkins 上执行就报了这个错误,重新安装也没有用。有大佬知道怎么回事吗?
2020-09-10 19:12:02.255 | INFO | httprunner.make:__make:512 - make path: /var/lib/jenkins/workspace/cos_qa_tools/cos_api_test/testsuites/cos_old/login_test.py
2020-09-10 19:12:02.255 | INFO | httprunner.make:format_pytest_with_black:170 - format pytest cases with black ...
2020-09-10 19:12:02.279 | ERROR | httprunner.make:format_pytest_with_black:189 -
missing dependency tool: black
install black manually and try again:
$ pip install black
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-C to quit
Build step 'Execute shell' marked build as failure
Finished: FAILURE