canonical / pylxd

Python module for LXD
https://pylxd.readthedocs.io/en/latest/
Apache License 2.0
256 stars 135 forks source link

integration: Skip cluster test when standalone #495

Closed stgraber closed 2 years ago

stgraber commented 2 years ago

For some reason the PyLXD tests were expecting LXD to return valid responses on the cluster API for standalone systems.

As LXD has now fixed this issue and is correctly returning the "Not clustered" error for all those endpoints, the tests are now breaking.

Signed-off-by: Stéphane Graber stgraber@ubuntu.com

stgraber commented 2 years ago

https://jenkins.linuxcontainers.org/job/lxd-test-pylxd/restrict=master,source=bionic-updates,target=latest-edge/ is where we noticed this issue.

codecov-commenter commented 2 years ago

Codecov Report

Merging #495 (4ccce50) into master (9f274bc) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #495   +/-   ##
=======================================
  Coverage   97.07%   97.07%           
=======================================
  Files          56       56           
  Lines        4101     4101           
=======================================
  Hits         3981     3981           
  Misses        120      120           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9f274bc...4ccce50. Read the comment docs.