Skip to content

Commit

Permalink
Merge branch 'brew-2024-clear-search'
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Oct 30, 2014
2 parents f04d5e9 + d5b9b9b commit cc90797
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckan/new_tests/helpers.py
Expand Up @@ -21,6 +21,7 @@
from pylons import config
import nose.tools

import ckan.lib.search as search
import ckan.config.middleware
import ckan.model as model
import ckan.logic as logic
Expand Down Expand Up @@ -185,7 +186,9 @@ def _apply_config_changes(cls, cfg):
pass

def setup(self):
'''Reset the database and clear the search indexes.'''
reset_db()
search.clear()

@classmethod
def teardown_class(cls):
Expand Down

0 comments on commit cc90797

Please sign in to comment.