def start_test_server(self, address='localhost', port=8000):
        self.server_thread = TestServerThread(address, port)
        self.server_thread.start()
        self.server_thread.started.wait()
        if self.server_thread.error:
            raise self.server_thread.error
Creates a live test server object (instance of WSGIServer).
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastypie/tests/testcases.py/TestServerTestCase.start_test_server