Merge pull request #26303 from edx/amnesty-status
Applied pylint-amnesty to status
This commit is contained in:
@@ -26,9 +26,9 @@ class GlobalStatusMessage(ConfigurationModel):
|
||||
blank=True,
|
||||
null=True,
|
||||
help_text=u'<p>The contents of this field will be displayed as a warning banner on all views.</p>'
|
||||
u'<p>To override the banner message for a specific course, refer to the Course Message configuration. '
|
||||
u'<p>To override the banner message for a specific course, refer to the Course Message configuration. ' # lint-amnesty, pylint: disable=line-too-long
|
||||
u'Course Messages will only work if the global status message is enabled, so if you only want to add '
|
||||
u'a banner to specific courses without adding a global status message, you should add a global status '
|
||||
u'a banner to specific courses without adding a global status message, you should add a global status ' # lint-amnesty, pylint: disable=line-too-long
|
||||
u'message with <strong>empty</strong> message text.</p>'
|
||||
u'<p>Finally, disable the global status message by adding another empty message with "enabled" '
|
||||
u'unchecked.</p>')
|
||||
|
||||
@@ -21,7 +21,7 @@ class TestStatus(TestCase):
|
||||
"""Test that the get_site_status_msg function does the right thing"""
|
||||
|
||||
def setUp(self):
|
||||
super(TestStatus, self).setUp()
|
||||
super(TestStatus, self).setUp() # lint-amnesty, pylint: disable=super-with-arguments
|
||||
# Clear the cache between test runs.
|
||||
cache.clear()
|
||||
self.course_key = CourseLocator(org='TestOrg', course='TestCourse', run='TestRun')
|
||||
|
||||
Reference in New Issue
Block a user