Skip to content

Commit

Permalink
patch for translation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Feb 8, 2018
1 parent 923c36f commit 46a5081
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ckanext/example_itranslation/tests/test_plugin.py
Expand Up @@ -7,14 +7,20 @@


class TestExampleITranslationPlugin(helpers.FunctionalTestBase):

@classmethod
def _apply_config_changes(cls, config):
config['ckan.plugins'] = 'example_itranslation'

@classmethod
def setup_class(cls):
super(TestExampleITranslationPlugin, cls).setup_class()
plugins.load('example_itranslation')
# plugins.load('example_itranslation')

@classmethod
def teardown_class(cls):
plugins.unload('example_itranslation')
if plugins.plugin_loaded('example_itranslation'):
plugins.unload('example_itranslation')
super(TestExampleITranslationPlugin, cls).teardown_class()

def test_translated_string_in_extensions_templates(self):
Expand Down

0 comments on commit 46a5081

Please sign in to comment.