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

def ui::UITest::test_list (   self  ) 

calling with --list

Definition at line 112 of file ui.py.

00112                        :
        '''calling with --list'''

        open (os.path.join(OSLib.inst.handler_dir, 'kmod_nodetect.py'), 'w').write(
        sys.argv = ['ui-test', '--list']
        self.assertEqual(AbstractUI().run(), 0)


        self.assertEqual(len(self.stdout.strip().splitlines()), 5)
        self.assert_('free module with available hardware, graphics card' in self.stdout)
        self.assert_('kmod:mint ' in self.stdout)
        self.assert_('kmod:vanilla ' in self.stdout)
        self.assert_('kmod:vanilla3d ' in self.stdout)
        self.assert_('kmod:firmwifi ' in self.stdout)

    def test_disable(self):

Generated by  Doxygen 1.6.0   Back to index