Permalink
Browse files

Better error message

  • Loading branch information...
Zac Zac
Zac authored and Zac committed Mar 9, 2012
1 parent 217c143 commit 43695374377a062854888f5b15c6ac668319ec4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/test_snippets.py
View
@@ -35,7 +35,7 @@ def test_snippets_present(self, mozwebqa, path):
full_url = mozwebqa.base_url + path
r = self._get_redirect(full_url)
- Assert.equal(r.status_code, requests.codes.ok)
+ Assert.equal(r.status_code, requests.codes.ok, "URL %s failed with status code: %s" %(full_url, r.status_code))
soup = self._parse_response(r.content)
snippets = soup.select("div.snippet")

0 comments on commit 4369537

Please sign in to comment.