Commit 07affdeed8bfce34761c6611573fe6ccce2c9f61
1 parent
5fade456
Fixed syntax error in test assertion
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | ... | @@ -246,7 +246,7 @@ class CommentViewTests(CommentTestCase): |
| 246 | 246 | response = self.client.post("/post/", data) |
| 247 | 247 | location = response["Location"] |
| 248 | 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 | 251 | data["next"] = "/somewhere/else/" |
| 252 | 252 | data["comment"] = "This is another comment" | ... | ... |
Please
register
or
login
to post a comment