Skip to content

Commit

Permalink
Remove some no longer needed code
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Hammond committed Feb 27, 2012
1 parent c8768c1 commit 9285e3c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions ckanext/multilingual/tests/test_multilingual_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,6 @@ def test_dataset_view_translation(self):
multilingual_dataset plugin.
'''
# Add translation terms that match a couple of group names. Group names
# should _not_ get translated even if there are terms matching them.
for term in ('roger', 'david'):
data_dict = {
'term': term,
'term_translation': 'this should not be rendered',
'lang_code': 'de',
}
context = {
'model': ckan.model,
'session': ckan.model.Session,
'user': 'testsysadmin',
}
ckan.logic.action.update.term_translation_update(context,
data_dict)

# Fetch the dataset view page for a number of different languages and
# test for the presence of translated and not translated terms.
offset = routes.url_for(controller='package', action='read',
Expand Down

0 comments on commit 9285e3c

Please sign in to comment.