Skip to content

Commit

Permalink
[#549] Fix tests due to SingletonPlugin Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Apr 3, 2013
1 parent 5ea2a1d commit d6c3443
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ckanext/jsonpreview/tests/test_preview.py
Expand Up @@ -22,6 +22,7 @@ def setup_class(cls):
cls.app = paste.fixture.TestApp(wsgiapp)

cls.p = previewplugin.JsonPreview()
cls.p.proxy_is_enabled = False

# create test resource
CreateTestData.create()
Expand Down
1 change: 1 addition & 0 deletions ckanext/pdfpreview/tests/test_preview.py
Expand Up @@ -22,6 +22,7 @@ def setup_class(cls):
cls.app = paste.fixture.TestApp(wsgiapp)

cls.p = previewplugin.PdfPreview()
cls.p.proxy_is_enabled = False

# create test resource
CreateTestData.create()
Expand Down

0 comments on commit d6c3443

Please sign in to comment.