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

def ui::UITest::test_disable (   self  ) 

calling with --disable

Definition at line 129 of file ui.py.

00129                           :
        '''calling with --disable'''

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

        sys.argv = ['ui-test', '--disable', 'kmod:mint']
        ui = sandbox.TestUI()
        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_disable_nochange(self):


Generated by  Doxygen 1.6.0   Back to index