def test_simple(self): m = ServerMaster() s = DummyServer(None) m.add_server(s) m.start() m.shutdown() m.start() m.shutdown()
def test_server_simple(self): m = controller.Master() s = DummyServer(None) m.add_server(s) m.start() m.shutdown() m.start() m.shutdown()
def test_simple(self): d = DummyServer(None) d.set_channel(None) d.shutdown()