

def test_delete_button_is_disabled_on_empty_selection(self):
    button = self.get_element(self.button_selector)
    self.assertTrue(self.has_class(button, 'disabled'))

dataset/ETHPy150Open openstack/horizon/horizon/test/tests/selenium_tests.py LazyLoadedTabsTests.test_delete_button_is_disabled_on_empty_selection/original