Skip to content

Commit

Permalink
[#547] Fix not unloading plugin in legacy modeaw
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Jun 3, 2013
1 parent eeb9ed3 commit e4b2c2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckanext/datastore/tests/test_search.py
Expand Up @@ -440,6 +440,8 @@ def setup_class(cls):
raise nose.SkipTest("Datastore not supported")
plugin = p.load('datastore')
if plugin.legacy_mode:
# make sure we undo adding the plugin
p.unload('datastore')
raise nose.SkipTest("SQL tests are not supported in legacy mode")
ctd.CreateTestData.create()
cls.sysadmin_user = model.User.get('testsysadmin')
Expand Down

0 comments on commit e4b2c2c

Please sign in to comment.