Skip to content

Migrate remaining tests to pytest-httpserver (no reliance on https://updates.xcp-ng.org) #485

Migrate remaining tests to pytest-httpserver (no reliance on https://updates.xcp-ng.org)

Migrate remaining tests to pytest-httpserver (no reliance on https://updates.xcp-ng.org) #485

Triggered via pull request June 30, 2023 10:02
Status Success
Total duration 2m 8s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

main.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

1 warning and 10 notices
test (2.7, ubuntu-22.04)
The support for python 2.7 will be removed on June 19. Related issue: https://github.com/actions/setup-python/issues/672
pylint C0123: unidiomatic-typecheck: xcp/version.py#L85
Convention: Use isinstance() rather than type() for a typecheck.
pylint C0123: unidiomatic-typecheck: xcp/version.py#L86
Convention: Use isinstance() rather than type() for a typecheck.
pylint R1710: inconsistent-return-statements: xcp/xmlunwrap.py#L79
Refactor: Either all return statements in a function should return an expression, or none of them should.
pylint C0325: superfluous-parens: xcp/pci.py#L85
Convention: Unnecessary parens after 'not' keyword
pylint C0325: superfluous-parens: xcp/pci.py#L90
Convention: Unnecessary parens after 'not' keyword
pylint C0325: superfluous-parens: xcp/pci.py#L95
Convention: Unnecessary parens after 'not' keyword
pylint C0325: superfluous-parens: xcp/mount.py#L48
Convention: Unnecessary parens after 'assert' keyword
pylint R1724: no-else-continue: xcp/net/ifrename/logic.py#L239
Refactor: Unnecessary "else" after "continue", remove the "else" and de-indent the code inside it
pylint R1724: no-else-continue: xcp/net/ifrename/logic.py#L259
Refactor: Unnecessary "else" after "continue", remove the "else" and de-indent the code inside it
pylint R1724: no-else-continue: xcp/net/ifrename/static.py#L228
Refactor: Unnecessary "elif" after "continue", remove the leading "el" from "elif"