示例#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()