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

def ui::UITest::test_mode_free (   self  ) 

calling with --mode free

Definition at line 342 of file ui.py.

00342                             :
        '''calling with --mode free'''

        sys.argv = ['ui-test', '--mode', 'free']
        ui = sandbox.TestUI()

        self.assertEqual(set([h.module for h in ui.handlers]), 
            set(['vanilla', 'firmwifi', 'foodmi']))

        self.failIf('Restricted' in ui.main_window_title())

        (h, s) = ui.main_window_text()
        self.assert_('No proprietary drivers are in use' in h)
        self.assertEqual(s, '')

    def test_mode_nonfree(self):

Generated by  Doxygen 1.6.0   Back to index