Commit f2edc9e1 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_crm: Test minor fixup

    The website value is set on the tests (but not present on live tests) so make the tests complay with both.
parent dea13552
......@@ -1614,7 +1614,9 @@ class TestSlapOSPerson_getSlapOSPendingTicketMessageTemplate(TestCRMSkinsMixin):
title, message = person.Person_getSlapOSPendingTicketMessageTemplate()
self.assertEqual('Pending ticket', title)
self.assertEqual('Test NM content Member Template AMOUNT (99) WEBSITE()', message)
web_site_url = self.portal.portal_preferences.getPreferredSlaposWebSiteUrl()
self.assertEqual(message,
'Test NM content Member Template AMOUNT (99) WEBSITE(%s)' % web_site_url)
class TestSlapOSPerson_sendPendingTicketReminder(TestCRMSkinsMixin):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment