Skip to content

Commit

Permalink
[#2389] Fix tests that were failing if 'error' was present on the JS …
Browse files Browse the repository at this point in the history
…strings
  • Loading branch information
amercader committed Jun 28, 2012
1 parent 5e165b9 commit c8bc38c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckan/tests/functional/test_group.py
Expand Up @@ -460,7 +460,7 @@ def test_1_do_diff(self):
res = form.submit()
res = res.follow()
main_res = self.main_div(res)
assert 'error' not in main_res.lower(), main_res
assert 'form-errors' not in main_res.lower(), main_res
assert 'Revision Differences' in main_res, main_res
assert self.grp.name in main_res, main_res
assert '<tr><td>description</td><td><pre>- Written by Puccini\n+ Written off</pre></td></tr>' in main_res, main_res
Expand Down
2 changes: 1 addition & 1 deletion ckan/tests/functional/test_package.py
Expand Up @@ -1446,7 +1446,7 @@ def test_1_do_diff(self):
res = form.submit()
res = res.follow()
main_res = self.main_div(res)
assert 'error' not in main_res.lower(), main_res
assert 'form-errors' not in main_res.lower(), main_res
assert 'Revision Differences' in main_res, main_res
assert self.pkg1.name in main_res, main_res
assert '<tr><td>notes</td><td><pre>- Written by Puccini\n+ Written off</pre></td></tr>' in main_res, main_res
Expand Down

0 comments on commit c8bc38c

Please sign in to comment.