httprunner 執行報錯,有人遇到過麼?何解

笑容逐漸凝固發表於2020-09-10

環境: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

相關文章