Update embargo copy.
ECOM-963 update copy in tests
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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,
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user