Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Nov 17, 2018
1 parent 079a7f2 commit 8a7010b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rosetta/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ def test_46_search_string_with_unicode_symbols(self):

@vcr.use_cassette('fixtures/vcr_cassettes/test_47_azure_ajax_translation.yaml', match_on=['method', 'scheme', 'host', 'port', 'path', 'query', 'raw_body'], record_mode='new_episodes')
def test_47_azure_ajax_translation(self):
r = self.client.get(reverse('rosetta.translate_text') + '?from=en&to=fr&text=hello%20world')
r = self.client.get(reverse('rosetta.translate_text_azure') + '?from=en&to=fr&text=hello%20world')
self.assertContains(r, '"Salut tout le monde"')

def test_48_requires_auth_not_respected_issue_203(self):
Expand Down

0 comments on commit 8a7010b

Please sign in to comment.