Skip to content

Commit

Permalink
[#1304] change clean_db to rebuild_db in new_test/helpers.py
Browse files Browse the repository at this point in the history
Otherwise new_tests will drop and recreate database
  • Loading branch information
joetsoi committed Nov 4, 2013
1 parent 8c854ad commit 0205723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/new_tests/helpers.py
Expand Up @@ -38,7 +38,7 @@ def reset_db():
# This prevents CKAN from hanging waiting for some unclosed connection.
model.Session.close_all()

model.repo.clean_db()
model.repo.rebuild_db()


def call_action(action_name, context=None, **kwargs):
Expand Down

0 comments on commit 0205723

Please sign in to comment.