def get_test_instance_port():
    global _TEST_INSTANCE_PORT
    _TEST_INSTANCE_PORT += 1
    return _TEST_INSTANCE_PORT
Return unused port for running test instance.
dataset/ETHPy150Open home-assistant/home-assistant/tests/common.py/get_test_instance_port