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

def ui::UITest::test_disable_confirm (   self  ) 

calling with --disable --confirm OKing

Definition at line 177 of file ui.py.

00177                                   :
        '''calling with --disable --confirm OKing'''

        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 = True
        self.assertEqual(ui.run(), 0)
        self.stop_capture()

        for h in ui.handlers:
            if h.id() == 'kmod:mint':
                self.failIf(h.enabled())
            else:
                self.assert_(h.enabled())

    def test_enable(self):


Generated by  Doxygen 1.6.0   Back to index