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

def ui::UITest::test_enable_invalid (   self  ) 

calling with --enable on a nonexisting handler

Definition at line 228 of file ui.py.

00228                                  :
        '''calling with --enable on a nonexisting handler'''

        sys.argv = ['ui-test', '--enable', 'kmod:unknown']
        ui = sandbox.TestUI()
        self.assertNotEqual(ui.run(), 0)
        self.stop_capture()
        self.assert_(ui.string_unknown_driver in self.stderr)
        self.assert_('--list' in self.stderr)

    def test_handler_dir(self):


Generated by  Doxygen 1.6.0   Back to index