Update test_comments_viewlet.py
This commit is contained in:
parent
36c834e6b3
commit
dde8640fc5
@ -599,10 +599,10 @@ class TestCommentsViewlet(unittest.TestCase):
|
|||||||
self.assertTrue('actions' in reply)
|
self.assertTrue('actions' in reply)
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
reply['actions'][0]['id'],
|
reply['actions'][0]['id'],
|
||||||
'publish',
|
'mark_as_spam',
|
||||||
)
|
)
|
||||||
expected_url = 'http://nohost/plone/doc1/++conversation++default/{0}' \
|
expected_url = 'http://nohost/plone/doc1/++conversation++default/{0}' \
|
||||||
'/content_status_modify?workflow_action=publish'
|
'/content_status_modify?workflow_action=mark_as_spam'
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
reply['actions'][0]['url'],
|
reply['actions'][0]['url'],
|
||||||
expected_url.format(int(c1)),
|
expected_url.format(int(c1)),
|
||||||
|
Loading…
Reference in New Issue
Block a user