Skip to content

Commit

Permalink
Adapt system test to updated back-end translation. (#6427)
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver authored Nov 6, 2018
1 parent 05b4794 commit 8c0ce80
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/google-cloud-translate/tests/system.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
# Copyright 2016 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -74,7 +75,7 @@ def test_translate(self):
self.assertEqual(
translations[2]['detectedSourceLanguage'], 'es')
self.assertEqual(
translations[2]['translatedText'].lower(), 'mein name ist jeff')
translations[2]['translatedText'].lower(), u'ich heiße jeff')

self.assertEqual(
translations[3]['detectedSourceLanguage'], 'en')
Expand Down

0 comments on commit 8c0ce80

Please sign in to comment.