Skip to content

Commit db52346

Browse files
authored
Adapt system test to updated back-end translation. (#6427)
1 parent efd152d commit db52346

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

translate/tests/system.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
# Copyright 2016 Google LLC
23
#
34
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -74,7 +75,7 @@ def test_translate(self):
7475
self.assertEqual(
7576
translations[2]['detectedSourceLanguage'], 'es')
7677
self.assertEqual(
77-
translations[2]['translatedText'].lower(), 'mein name ist jeff')
78+
translations[2]['translatedText'].lower(), u'ich heiße jeff')
7879

7980
self.assertEqual(
8081
translations[3]['detectedSourceLanguage'], 'en')

0 commit comments

Comments
 (0)