def test_ask_yes_no_default():
    with mock.patch('__builtin__.raw_input') as m:
        m.side_effect = ["", ""]
        assert qisys.interact.ask_yes_no("coffee?", default=True)  is True
        assert qisys.interact.ask_yes_no("coffee?", default=False) is False
Helper function verify a subnet's route table association
dataset/ETHPy150Open aldebaran/qibuild/python/qisys/test/test_interact.py/test_ask_yes_no_default--crossover with--dataset/ETHPy150Open saltstack/salt/salt/states/boto_vpc.py/_verify_subnet_association