diff options
Diffstat (limited to 'service/test/support/dispatcher/run.py')
-rw-r--r-- | service/test/support/dispatcher/run.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/service/test/support/dispatcher/run.py b/service/test/support/dispatcher/run.py new file mode 100644 index 00000000..98627ba7 --- /dev/null +++ b/service/test/support/dispatcher/run.py @@ -0,0 +1,8 @@ +from test.support.dispatcher.proxy import Proxy + +if __name__ in ('main', '__main__'): + proxy = Proxy(proxy_port='8888', app_port='3333') + try: + proxy.serve_forever() + except Exception, e: + proxy.shutdown()
\ No newline at end of file |