Commit 07affdeed8bfce34761c6611573fe6ccce2c9f61

Authored by Claude Paroz
1 parent 5fade456

Fixed syntax error in test assertion

@@ -246,7 +246,7 @@ class CommentViewTests(CommentTestCase): @@ -246,7 +246,7 @@ class CommentViewTests(CommentTestCase):
246 response = self.client.post("/post/", data) 246 response = self.client.post("/post/", data)
247 location = response["Location"] 247 location = response["Location"]
248 match = post_redirect_re.match(location) 248 match = post_redirect_re.match(location)
249 - self.assertisNotNone(match, "Unexpected redirect location: %s" % location) 249 + self.assertIsNotNone(match, "Unexpected redirect location: %s" % location)
250 250
251 data["next"] = "/somewhere/else/" 251 data["next"] = "/somewhere/else/"
252 data["comment"] = "This is another comment" 252 data["comment"] = "This is another comment"
Please register or login to post a comment