예제 #1
0
파일: commands.py 프로젝트: liaorui/grpc
    def run_server(self):
        # We import here to ensure that our setuptools parent has had a chance to
        # edit the Python system path.
        from tests.interop import server

        sys.argv[1:] = self.args.split()
        server.serve()
예제 #2
0
파일: commands.py 프로젝트: srv4wang/grpc
 def run_server(self):
   # We import here to ensure that our setuptools parent has had a chance to
   # edit the Python system path.
   from tests.interop import server
   sys.argv[1:] = self.args.split()
   server.serve()