Skip to content

Commit

Permalink
fixed failing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Shriyanshagro committed Aug 10, 2018
1 parent 915df8d commit ccc11f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/collective/ifttt/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ def test_add(self):
storage = getUtility(IRuleStorage)
self.assertEqual(1, len(storage.values()))
self.assertEqual(
_(u'${title}_Trigger_${ifttt_event_name}'),
_(
u'IFTTT ${trigger_type} for "${ifttt_event_name}" '
u'on content_types ${content_types} at ${path}'
),
storage.values()[0].title
)
self.assertEqual(True, storage.values()[0].enabled)
Expand Down

0 comments on commit ccc11f7

Please sign in to comment.