Update test_comments_viewlet.py

This commit is contained in:
Katja Suess 2020-01-11 11:43:35 +01:00
parent 36c834e6b3
commit dde8640fc5

View File

@ -599,10 +599,10 @@ class TestCommentsViewlet(unittest.TestCase):
self.assertTrue('actions' in reply)
self.assertEqual(
reply['actions'][0]['id'],
'publish',
'mark_as_spam',
)
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(
reply['actions'][0]['url'],
expected_url.format(int(c1)),