Fix(adjust) failing test due to changes in the master branch not in 3006.x

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-09-13 15:28:26 +01:00
parent 31068bc174
commit 353b1d48b9
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -570,7 +570,7 @@ def test_installed_with_changes_test_true(list_pkgs):
},
):
expected = {"dummy": {"new": "installed", "old": ""}}
expected = {"dummy": {"new": "some version here", "old": ""}}
# Run state with test=true
with patch.dict(pkg.__opts__, {"test": True}):
ret = pkg.installed("dummy")