mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
uitests: Add a test for command line errors
This commit is contained in:
parent
4a4207189f
commit
f7c50ebe07
@ -70,3 +70,8 @@ class VMMCLI(uiutils.UITestCase):
|
||||
self.assertEqual(len(vapps), 1)
|
||||
|
||||
self.app.topwin.find("test default", "table cell")
|
||||
|
||||
def testShowError(self):
|
||||
self.app.open(extra_opts=["--idontexist"])
|
||||
alert = self.app.root.find("vmm dialog")
|
||||
alert.find_fuzzy("Unhandled command line")
|
||||
|
Loading…
Reference in New Issue
Block a user