test(client): fix a test for special cases where google returns many kinds of results
This commit is contained in:
parent
9ca9c95230
commit
5e66692eff
@ -91,7 +91,7 @@ def test_src_in_special_cases(translator):
|
||||
|
||||
result = translator.translate(*args)
|
||||
|
||||
assert result.text == 'Hello'
|
||||
assert result.text in ('Hello', 'Hi,')
|
||||
|
||||
|
||||
def test_src_not_in_supported_languages(translator):
|
||||
|
Loading…
Reference in New Issue
Block a user