Skip to content

Commit

Permalink
Merge pull request #1458 from okfn/1452-textpreview-tests
Browse files Browse the repository at this point in the history
[#1452] Text Preview fails - Fix PEP8
  • Loading branch information
kindly committed Jan 27, 2014
2 parents 4fa7b5c + 82c554f commit 6254fe5
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) or ('text.min.css' in result.body)), result.body
assert (('github.css' in result.body) or ('github.min.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 6254fe5

Please sign in to comment.