mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
tests: Don't check against host UID
We are using static test suite data to compare against resolved host username Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
parent
82be5dccad
commit
8e7745f5e1
@ -202,7 +202,6 @@ class TestXMLMisc(unittest.TestCase):
|
|||||||
with tempfile.TemporaryDirectory() as tmpdir:
|
with tempfile.TemporaryDirectory() as tmpdir:
|
||||||
searchdata = virtinst.DeviceDisk.check_path_search(conn, tmpdir)
|
searchdata = virtinst.DeviceDisk.check_path_search(conn, tmpdir)
|
||||||
self.assertTrue(bool(searchdata.fixlist))
|
self.assertTrue(bool(searchdata.fixlist))
|
||||||
self.assertEqual(searchdata.user, "qemu")
|
|
||||||
errdict = virtinst.DeviceDisk.fix_path_search(searchdata)
|
errdict = virtinst.DeviceDisk.fix_path_search(searchdata)
|
||||||
self.assertTrue(not bool(errdict))
|
self.assertTrue(not bool(errdict))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user