def test_enable_mode(net_connect, commands, expected_responses):
    try:
        net_connect.enable()
        enable_prompt = net_connect.find_prompt()
        assert enable_prompt == expected_responses['enable_prompt']
    except AttributeError:
        assert True == True
Test entering enable mode
dataset/ETHPy150Open ktbyers/netmiko/tests/test_netmiko_show.py/test_enable_mode