Ejemplo n.º 1
0
def test_unicode():
    # Figlet just swallows unicode
    ret = on_message({"text": u"!banner Харито́н"}, None)
    assert ret == None

    # Though it will print the other characters
    ret = on_message({"text": u"!banner Mötörhead --font morse"}, None)
    assert ret == u'```-- - .-. .... . .- -..```'
Ejemplo n.º 2
0
def test_unicode():
    # Figlet just swallows unicode
    ret = on_message({"text": u"!banner Харито́н"}, None)
    assert ret == None

    # Though it will print the other characters
    ret = on_message({"text": u"!banner Mötörhead --font morse"}, None)
    assert ret == u'```-- - .-. .... . .- -..```'
Ejemplo n.º 3
0
def test_basic():
    ret = on_message({"text": u"!banner llimllib --font morse"}, None)
    assert ret == u'```.-.. .-.. .. -- .-.. .-.. .. -...```'
Ejemplo n.º 4
0
def test_basic():
    ret = on_message({"text": u"!banner llimllib --font morse"}, None)
    assert ret == u'```.-.. .-.. .. -- .-.. .-.. .. -...```'