googleapis / python-translate

This library has moved to https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-translate
Apache License 2.0
108 stars 45 forks source link

tests.system.TestTranslate: test_detect_language failed #435

Closed flaky-bot[bot] closed 2 years ago

flaky-bot[bot] commented 2 years ago

Note: #380 was also for this test, but it was closed more than 10 days ago. So, I didn't mark it flaky.


commit: 3a81907176fab5378ce12f12d4d39a69e0bd8cd4 buildURL: Build Status, Sponge status: failed

Test output
self = 

    @skip_for_mtls
    def test_detect_language(self):
        values = ["takoy", "s'il vous plait"]
        detections = Config.CLIENT_V2.detect_language(values)
        self.assertEqual(len(values), len(detections))
>       self.assertEqual(detections[0]["language"], "ru")
E       AssertionError: 'ru-Latn' != 'ru'
E       - ru-Latn
E       + ru

tests/system.py:69: AssertionError