Commit 2bf25b2f by Peter Desjardins

Merge pull request #11043 from edx/pdesjardins/DOC-2543-b

Edit text strings in default template for web certificates to make them more generally applicable
parents 5e972b2a 451ae3b2
...@@ -293,7 +293,7 @@ class CertificatesViewsTests(ModuleStoreTestCase, EventTrackingTestCase): ...@@ -293,7 +293,7 @@ class CertificatesViewsTests(ModuleStoreTestCase, EventTrackingTestCase):
) )
# Test an item from user info # Test an item from user info
self.assertIn( self.assertIn(
"{fullname}, you've earned a certificate!".format(fullname=self.user.profile.name), "{fullname}, you earned a certificate!".format(fullname=self.user.profile.name),
response.content response.content
) )
# Test an item from social info # Test an item from social info
...@@ -308,8 +308,8 @@ class CertificatesViewsTests(ModuleStoreTestCase, EventTrackingTestCase): ...@@ -308,8 +308,8 @@ class CertificatesViewsTests(ModuleStoreTestCase, EventTrackingTestCase):
# Test an item from certificate/org info # Test an item from certificate/org info
self.assertIn( self.assertIn(
"a course of study offered by {partner_short_name}, " "a course of study offered by {partner_short_name}, "
"an online learning initiative of {partner_long_name} " "an online learning initiative of "
"through {platform_name}.".format( "{partner_long_name}.".format(
partner_short_name=short_org_name, partner_short_name=short_org_name,
partner_long_name=long_org_name, partner_long_name=long_org_name,
platform_name='Test Microsite' platform_name='Test Microsite'
......
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