def test_delete_undefine(self):
        domain = mock.Mock()
        logger = mock.Mock()
        domain.isActive.return_value = False
        qemu.domain_delete(domain, logger)
        self.assertTrue(domain.undefineFlags.called)
Used by the non-jframe login
dataset/ETHPy150Open F-Secure/see/see/context/resources/test/qemu_test.py/DomainDeleteTest.test_delete_undefine--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/libs/liboauth/src/liboauth/views.py/show_login_page