Skip to content

Commit

Permalink
[#2242] Load recline_view in tests as it is now a default view
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Feb 4, 2015
1 parent 6492c30 commit efe5dde
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckan/new_tests/lib/test_datapreview.py
Expand Up @@ -54,6 +54,8 @@ class TestDefaultViewsConfig(object):
def setup_class(cls):
if not p.plugin_loaded('image_view'):
p.load('image_view')
if not p.plugin_loaded('recline_view'):
p.load('recline_view')
if not p.plugin_loaded('webpage_view'):
p.load('webpage_view')
if not p.plugin_loaded('test_datastore_view'):
Expand All @@ -62,6 +64,7 @@ def setup_class(cls):
@classmethod
def teardown_class(cls):
p.unload('image_view')
p.unload('recline_view')
p.unload('webpage_view')
p.unload('test_datastore_view')

Expand Down

0 comments on commit efe5dde

Please sign in to comment.