Fix failing test.

This commit is contained in:
Timo Stollenwerk 2012-11-04 17:18:46 +01:00
parent 2df4cf0765
commit 41a53fc8ff

View File

@ -227,7 +227,7 @@ Find a comment id to reply to.
>>> browser.open(urldoc1) >>> browser.open(urldoc1)
>>> import re >>> import re
>>> comment_div = re.findall('<div.*?.class="comment.*?>', browser.contents)[0] >>> comment_div = re.findall('<div.*?.class="comment.*?>', browser.contents)[0]
>>> id = re.findall('"([^"]*)"', comment_div)[2] >>> id = re.findall('"([^"]*)"', comment_div)[1]
Post a reply to an existing comment. Post a reply to an existing comment.