Skip to content

Commit 43eac30

Browse files
committed
tests: reset initial start in the dom0 updates check test
If there are already some updates available, the test will unexpectedly fail.
1 parent 335c908 commit 43eac30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qubes/tests/integ/dom0_update.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ def test_000_update(self):
342342

343343
def test_001_update_check(self):
344344
"""Check if dom0 updates check works"""
345+
self.app.domains[0].features["updates-available"] = False
345346
filename = self.create_pkg(self.tmpdir, self.pkg_name, "1.0")
346347
subprocess.check_call(["rpm", "-i", filename])
347348
filename = self.create_pkg(self.tmpdir, self.pkg_name, "2.0")

0 commit comments

Comments
 (0)