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

def ui::UITest::_join_http_server (   self,
  kill = False 
) [private]

Wait for the forked HTTP server to finish and assert that it exits
with zero.

Definition at line 533 of file ui.py.

00533                                            :
        '''Wait for the forked HTTP server to finish and assert that it exits
        with zero.'''

        if kill:
            os.kill(self.http_pid, signal.SIGTERM)

        # TODO: check exit code
        #self.assertEqual(os.wait()[1], 0)
        os.wait()

    def test_download_http_nocancel(self):


Generated by  Doxygen 1.6.0   Back to index