These testbrowser tests certainly no longer raise 404s for me
svn path=/plone.app.discussion/trunk/; revision=48837
This commit is contained in:
parent
d3025fb3ec
commit
187aa60452
@ -163,9 +163,6 @@ flaw? Though, the comment is published properly.
|
|||||||
>>> browser.handleErrors = True
|
>>> browser.handleErrors = True
|
||||||
>>> browser.raiseHttpErrors = False
|
>>> browser.raiseHttpErrors = False
|
||||||
>>> browser.getControl('Approve', index=0).click()
|
>>> browser.getControl('Approve', index=0).click()
|
||||||
Traceback (most recent call last):
|
|
||||||
...
|
|
||||||
HTTPError: HTTP Error 404: Not Found
|
|
||||||
|
|
||||||
>>> 'Comment approved' in browser.contents
|
>>> 'Comment approved' in browser.contents
|
||||||
True
|
True
|
||||||
@ -195,9 +192,6 @@ flaw? Though, the comment is deleted properly.
|
|||||||
>>> browser.handleErrors = True
|
>>> browser.handleErrors = True
|
||||||
>>> browser.raiseHttpErrors = False
|
>>> browser.raiseHttpErrors = False
|
||||||
>>> browser.getControl('Delete', index=1).click()
|
>>> browser.getControl('Delete', index=1).click()
|
||||||
Traceback (most recent call last):
|
|
||||||
...
|
|
||||||
HTTPError: HTTP Error 404: Not Found
|
|
||||||
|
|
||||||
>>> browser.handleErrors = False
|
>>> browser.handleErrors = False
|
||||||
>>> browser.raiseHttpErrors = True
|
>>> browser.raiseHttpErrors = True
|
||||||
|
Loading…
Reference in New Issue
Block a user