Skip to content

Commit

Permalink
[#1452] Fix text preview tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jan 30, 2014
1 parent a6bd03b commit 8126d10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/textpreview/tests/test_preview.py
Expand Up @@ -114,8 +114,8 @@ 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 8126d10

Please sign in to comment.