Skip to content

Commit

Permalink
[i18n] Remove test that was broken by the real es translation being d…
Browse files Browse the repository at this point in the history
…one. Cannot see a better way and test is not really important.
  • Loading branch information
David Read committed Dec 15, 2015
1 parent 46e0512 commit 96e3990
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ckanext/example_itranslation/tests/test_plugin.py
Expand Up @@ -31,14 +31,6 @@ def test_translated_string_in_extensions_templates(self):
assert_true('This is an untranslated string' in response.body)
assert_false('This is a itranslated string' in response.body)

# check that we have only overwritten 'fr'
response = app.get(
url=plugins.toolkit.url_for(controller='home', action='index',
locale='es'),
)
assert_true('This is an untranslated string' in response.body)
assert_false('This is a itranslated string' in response.body)

def test_translated_string_in_core_templates(self):
app = self._get_test_app()
response = app.get(
Expand Down

0 comments on commit 96e3990

Please sign in to comment.