Common handler to stop and quit the server
| 70 | |
| 71 | |
| 72 | class CommonTestServiceHandler(test_unit_test_common.interface.ICommon): |
| 73 | """ |
| 74 | Common handler to stop and quit the server |
| 75 | """ |
| 76 | |
| 77 | def quit(self): |
| 78 | global global_server |
| 79 | if global_server: |
| 80 | global_server.stop() |
| 81 | |
| 82 | def getServerAllocated(self): |
| 83 | return 0 |
| 84 | |
| 85 | |
| 86 | ############################################################################### |