def tearDownClass(cls): cls.test_server.stop() ads.close_port() if platform_is_linux(): ads.delete_route(cls.endpoint)
def tearDownClass(cls): cls.test_server.stop() # wait a bit for server to shutdown time.sleep(1) ads.close_port() if platform_is_linux(): ads.delete_route(cls.endpoint)