Skip to content

Commit

Permalink
[#1251] Fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
John authored and John committed Nov 20, 2013
1 parent 36982ac commit c78ff4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion ckan/tests/test_coding_standards.py
Expand Up @@ -830,7 +830,6 @@ class TestPep8(object):
'ckanext/multilingual/plugin.py',
'ckanext/multilingual/tests/test_multilingual_plugin.py',
'ckanext/resourceproxy/plugin.py',
'ckanext/resourceproxy/tests/test_proxy.py',
'ckanext/stats/controller.py',
'ckanext/stats/plugin.py',
'ckanext/stats/stats.py',
Expand Down
4 changes: 4 additions & 0 deletions ckanext/textpreview/plugin.py
Expand Up @@ -22,6 +22,10 @@ class TextPreview(p.SingletonPlugin):
p.implements(p.IPackageController, inherit=True)

proxy_is_enabled = False
text_formats = []
xml_formats = []
json_formats = []
jsonp_formats = []

def update_config(self, config):
text_formats = config.get('ckan.preview.text_formats', '').split()
Expand Down

0 comments on commit c78ff4a

Please sign in to comment.