def test_unicode():
with vcr.use_cassette('test/fixtures/calc_unicode.yaml'):
# ??? is the Thai Bhat (spelled in Thai, obvs)
ret = on_message({"text": u"!calc 10 dollars in ???"}, None)
# no exception == success
文章目录