diff --git a/ckan/tests/functional/test_user.py b/ckan/tests/functional/test_user.py index eb44bd92376..29ae92fa963 100644 --- a/ckan/tests/functional/test_user.py +++ b/ckan/tests/functional/test_user.py @@ -130,7 +130,10 @@ def test_user_read_about_spam2(self): main_res = self.main_div(res) assert 'spammer2' in res, res assert 'spamsite2' not in res, res - assert 'Error: Could not parse About text' in res, res + # some computers have the Genshi exception and some insert "malformed" + # but either are fine + assert 'Error: Could not parse About text' in res or\ + 'malformed' in res, res def test_user_login_page(self): offset = url_for(controller='user', action='login', id=None)