示例#1
0
    def tearDownClass(cls):
        cls.test_server.stop()

        ads.close_port()

        if platform_is_linux():
            ads.delete_route(cls.endpoint)
示例#2
0
    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)
示例#3
0
    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)