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

def ui::UITest::test_mode_nonfree (   self  ) 

calling with --mode nonfree

Definition at line 358 of file ui.py.

00358                                :
        '''calling with --mode nonfree'''

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

        self.assertEqual(set([h.module for h in ui.handlers]), 
            set(['vanilla3d', 'mint']))

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

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

    def test_check(self):

Generated by  Doxygen 1.6.0   Back to index