def test_getprotocol():
    try:
        getprotocol('invalid')
        assert False, "ValueError was not raised"
    except __HOLE__:
        pass
dataset/ETHPy150Open openstack/wsme/wsme/tests/test_protocols.py/test_getprotocol