Update embargo copy.

ECOM-963

update copy in tests
This commit is contained in:
Diana Huang
2015-01-29 11:41:18 -05:00
committed by Adam Palay
parent a1ffcc5259
commit c71a183316
2 changed files with 3 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ class EmbargoMiddlewareTests(ModuleStoreTestCase):
CourseEnrollment.enroll(self.user, self.regular_course.id)
CourseEnrollment.enroll(self.user, self.embargo_course.id)
# Text from lms/templates/static_templates/embargo.html
self.embargo_text = "Unfortunately, at this time edX must comply with export controls, and we cannot allow you to access this particular course."
self.embargo_text = "Unfortunately, at this time edX must comply with export controls, and we cannot allow you to access this course."
self.patcher = mock.patch.object(pygeoip.GeoIP, 'country_code_by_addr', self.mock_country_code_by_addr)
self.patcher.start()

View File

@@ -6,11 +6,9 @@
<section class="outside-app">
<p>
${_("Our system indicates that you are trying to access this {platform_name} "
"course from a country currently subject to U.S. economic and trade "
"course from a country or region currently subject to U.S. economic and trade "
"sanctions. Unfortunately, at this time {platform_name} must comply with "
"export controls, and we cannot allow you to access this particular course. "
"Feel free to browse our catalogue to find other courses you may be "
"interested in taking."
"export controls, and we cannot allow you to access this course."
).format(
platform_name=settings.PLATFORM_NAME,
)}