def test_nick_match_tellee_wildcards(): assert tell.nick_match_tellee('Exirel', 'Exirel*') assert tell.nick_match_tellee('Exirel', 'Exi*') assert tell.nick_match_tellee('Exirel', 'exi*') assert tell.nick_match_tellee('exirel', 'EXI*') assert tell.nick_match_tellee('Exirel', 'Exi:') assert tell.nick_match_tellee('Exirel', 'exi:') assert tell.nick_match_tellee('exirel', 'EXI:') assert tell.nick_match_tellee('Exirel', 'Exirel:') assert not tell.nick_match_tellee('Exirel', 'dgw:') assert not tell.nick_match_tellee('Exirel', 'dgw*')
def test_nick_match_tellee(): assert tell.nick_match_tellee('Exirel', 'exirel') assert tell.nick_match_tellee('exirel', 'EXIREL') assert not tell.nick_match_tellee('exirel', 'dgw')