test(client): add a test for emojis
This commit is contained in:
parent
5e66692eff
commit
4f312649f2
@ -39,6 +39,11 @@ def test_unicode(translator):
|
|||||||
assert result.text == u'こんにちは。'
|
assert result.text == u'こんにちは。'
|
||||||
|
|
||||||
|
|
||||||
|
def test_emoji(translator):
|
||||||
|
result = translator.translate('😀')
|
||||||
|
assert result.text == u'😀'
|
||||||
|
|
||||||
|
|
||||||
def test_language_name(translator):
|
def test_language_name(translator):
|
||||||
result = translator.translate(u'Hello', src='ENGLISH', dest='iRiSh')
|
result = translator.translate(u'Hello', src='ENGLISH', dest='iRiSh')
|
||||||
assert result.text == u'Dia dhuit'
|
assert result.text == u'Dia dhuit'
|
||||||
|
Loading…
Reference in New Issue
Block a user