Print an error message based on http response (T2300)
Details
Details
- Reviewers
vlorentz - Group Reviewers
Reviewers - Commits
- rDTSCNcb5faf6e866a: exceptions: APIError response
rDTSCN1857499820d0: let live_server start directly
Diff Detail
Diff Detail
- Repository
- rDTSCN Code scanner
- Branch
- response-api-error
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 11037 Build 16623: tox-on-jenkins Jenkins Build 16622: arc lint + arc unit
Event Timeline
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DTSCN/job/tox/10/ for more details.
Comment Actions
assert APIError raises when the payload is too large live_server override, only one per session
Comment Actions
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DTSCN/job/tox/11/
See console output for more information: https://jenkins.softwareheritage.org/job/DTSCN/job/tox/11/console
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DTSCN/job/tox/12/ for more details.
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DTSCN/job/tox/13/ for more details.
swh/scanner/tests/conftest.py | ||
---|---|---|
63–66 | there is no need of overriding the live_server so i'll remove the no-start-live-server option in pytest.ini |
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DTSCN/job/tox/14/ for more details.