def test_unfurl_refs(myservers, mychannels, myusers):
    slack.servers = myservers
    slack.channels = mychannels
    slack.users = myusers
    slack.message_cache = {}
    slack.servers[0].users = myusers
    print mychannels[0].identifier

    for k in unfurl_map:
        if k in "ignore_alt_text":
            assert slack.unfurl_refs(k["input"], ignore_alt_text=k["ignore_alt_text"]) == k["output"]
        else:
            assert slack.unfurl_refs(k["input"]) == k["output"]
dataset/ETHPy150Open rawdigits/wee-slack/_pytest/test_unfurl.py/test_unfurl_refs/swapped operands of `in`