uitests: Add a test for command line errors

This commit is contained in:
Cole Robinson 2018-01-21 14:34:35 -05:00
parent 4a4207189f
commit f7c50ebe07

View File

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