Skip to content

Commit

Permalink
Merge pull request #1452 from okfn/1452-textpreview-tests
Browse files Browse the repository at this point in the history
Text preview tests fail when using production JS scripts
  • Loading branch information
kindly committed Jan 24, 2014
2 parents e8c8bda + d65d22d commit 336dfd5
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 336dfd5

Please sign in to comment.