Logo Search packages:      
Sourcecode: jockey version File versions  Download package

def ui::UITest::test_disable_confirm_cancel (   self  ) 

calling with --disable --confirm cancelling

Definition at line 162 of file ui.py.

00162                                          :
        '''calling with --disable --confirm cancelling'''

        open (os.path.join(OSLib.inst.handler_dir, 'h.py'), 'w').write(
            sandbox.h_availability_py)

        sys.argv = ['ui-test', '--confirm', '--disable', 'kmod:mint']
        ui = sandbox.TestUI()
        ui.confirm_response = False
        self.assertEqual(ui.run(), 1)
        self.stop_capture()

        for h in ui.handlers:
            self.assert_(h.enabled())

    def test_disable_confirm(self):


Generated by  Doxygen 1.6.0   Back to index