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:
Cole Robinson 2020-01-30 10:15:21 -05:00
parent 82be5dccad
commit 8e7745f5e1

View File

@ -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))