mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-22 01:10:39 +00:00
fix exclude_vmid test
This commit is contained in:
parent
d15a01fd6a
commit
f22d5e41e4
@ -20,7 +20,7 @@ def discovery_fixture(mocker):
|
|||||||
|
|
||||||
|
|
||||||
def test_exclude(discovery_fixture, qemus):
|
def test_exclude(discovery_fixture, qemus):
|
||||||
discovery_fixture.config.config["exclude_vmid"] = [100, "101"]
|
discovery_fixture.config.config["exclude_vmid"] = ["100", "101"]
|
||||||
|
|
||||||
expected = []
|
expected = []
|
||||||
filtered = discovery_fixture._exclude(qemus)
|
filtered = discovery_fixture._exclude(qemus)
|
||||||
|
Loading…
Reference in New Issue
Block a user