Skip to content

Commit

Permalink
[#2933] legacy test fix: clean up after creating test data
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Mar 31, 2016
1 parent 045f73c commit 7d9fcac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckan/tests/legacy/lib/test_helpers.py
Expand Up @@ -180,3 +180,5 @@ def test_get_pkg_dict_extra(self):
assert_equal(h.get_pkg_dict_extra(pkg_dict, 'extra_not_found'), None)

assert_equal(h.get_pkg_dict_extra(pkg_dict, 'extra_not_found', 'default_value'), 'default_value')

model.repo.rebuild_db()

0 comments on commit 7d9fcac

Please sign in to comment.