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'```-- - .-. .... . .- -..```'
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'```-- - .-. .... . .- -..```'
def test_basic(): ret = on_message({"text": u"!banner llimllib --font morse"}, None) assert ret == u'```.-.. .-.. .. -- .-.. .-.. .. -...```'
def test_basic(): ret = on_message({"text": u"!banner llimllib --font morse"}, None) assert ret == u'```.-.. .-.. .. -- .-.. .-.. .. -...```'