mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-24 21:34:47 +03:00
4096800f71
Discussed here: https://www.redhat.com/archives/virt-tools-list/2018-October/msg00032.html
33 lines
995 B
Python
33 lines
995 B
Python
# This work is licensed under the GNU GPLv2 or later.
|
|
# See the COPYING file in the top-level directory.
|
|
|
|
from tests.uitests import utils as uiutils
|
|
|
|
|
|
class Host(uiutils.UITestCase):
|
|
"""
|
|
UI tests for virt-manager's VM details window
|
|
"""
|
|
|
|
##############
|
|
# Test cases #
|
|
##############
|
|
|
|
def testHostNetworkSmokeTest(self):
|
|
"""
|
|
Verify that each virtual network displays, without error.
|
|
"""
|
|
win = self._open_host_window("Virtual Networks")
|
|
lst = win.find("net-list", "table")
|
|
errlabel = win.find("net-error-label", "label")
|
|
self._walkUIList(win, lst, lambda: errlabel.showing)
|
|
|
|
def testHostStorageSmokeTest(self):
|
|
"""
|
|
Verify that each storage pool displays, without error.
|
|
"""
|
|
win = self._open_host_window("Storage")
|
|
lst = win.find("pool-list", "table")
|
|
errlabel = win.find("pool-error-label", "label")
|
|
self._walkUIList(win, lst, lambda: errlabel.showing)
|