Skip to content

Commit

Permalink
Fix test failures on 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel Babu committed Jan 30, 2014
1 parent a6bd03b commit ffe06d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ckanext/textpreview/tests/test_preview.py
Expand Up @@ -114,8 +114,10 @@ def test_css_included(self):
result = self.app.get(url, status='*')

assert result.status == 200, result.status
assert 'text.css' in result.body, result.body
assert 'github.css' in result.body, result.body
assert ((('text.css' in result.body)
or ('text.min.css' in result.body))), result.body
assert ((('github.css' in result.body)
or ('github.min.css' in result.body))), result.body

def test_iframe_is_shown(self):
url = h.url_for(controller='package', action='resource_read',
Expand Down

0 comments on commit ffe06d6

Please sign in to comment.