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

def ui::UITest::test_cli_help (   self  ) 

calling with --help

Definition at line 95 of file ui.py.

00095                            :
        '''calling with --help'''

        # --help will exit, so we have to fork
        if os.fork() == 0:
            sys.argv = ['ui-test', '--help']
            try:
                AbstractUI()
            except SystemExit:
                os._exit(0)
            os._exit(42) # we should not get here

        self.assertEqual(os.wait()[1], 0)

        # TODO: check output (forked process does not land in self.stdout for
        # some reason)

    def test_list(self):


Generated by  Doxygen 1.6.0   Back to index