Skip to content
Snippets Groups Projects
Unverified Commit 8f919bdb authored by Usama Sadiq's avatar Usama Sadiq Committed by GitHub
Browse files

Merge pull request #26303 from edx/amnesty-status

Applied pylint-amnesty to status
parents c4e21bf7 3ce03896
No related branches found
No related tags found
No related merge requests found
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment