Remove useless pylint suppressions
This commit is contained in:
@@ -509,7 +509,6 @@ class SignatorySectionPage(CertificatesPage):
|
||||
"""
|
||||
Delete the signatory
|
||||
"""
|
||||
# pylint: disable=pointless-statement
|
||||
self.wait_for_signatory_delete_icon()
|
||||
self.click_signatory_delete_icon()
|
||||
self.wait_for_signatory_delete_prompt()
|
||||
|
||||
@@ -75,7 +75,7 @@ class LmsDashboardPageTest(BaseLmsDashboardTest):
|
||||
Validate the behavior of the social sharing feature
|
||||
"""
|
||||
twitter_widget = self.dashboard_page.get_course_social_sharing_widget('twitter')
|
||||
twitter_url = "https://twitter.com/intent/tweet?text=Testing+feature%3A%20http%3A%2F%2Fcustom%2Fcourse%2Furl" # pylint: disable=line-too-long
|
||||
twitter_url = "https://twitter.com/intent/tweet?text=Testing+feature%3A%20http%3A%2F%2Fcustom%2Fcourse%2Furl"
|
||||
self.assertEqual(twitter_widget.attrs('title')[0], 'Share on Twitter')
|
||||
self.assertEqual(twitter_widget.attrs('data-tooltip')[0], 'Share on Twitter')
|
||||
self.assertEqual(twitter_widget.attrs('aria-haspopup')[0], 'true')
|
||||
|
||||
@@ -115,7 +115,7 @@ class StudioLibraryTest(WebAppTest):
|
||||
"""
|
||||
as_staff = True
|
||||
|
||||
def setUp(self): # pylint: disable=arguments-differ
|
||||
def setUp(self):
|
||||
"""
|
||||
Install a library with no content using a fixture.
|
||||
"""
|
||||
|
||||
@@ -62,7 +62,7 @@ class TestLibraryExport(ExportTestMixin, StudioLibraryTest):
|
||||
"""
|
||||
Export tests for libraries.
|
||||
"""
|
||||
def setUp(self): # pylint: disable=arguments-differ
|
||||
def setUp(self):
|
||||
"""
|
||||
Ensure a library exists and navigate to the library edit page.
|
||||
"""
|
||||
|
||||
@@ -32,9 +32,9 @@ class CourseTeamPageTest(StudioCourseTest):
|
||||
"""
|
||||
super(CourseTeamPageTest, self).setUp(is_staff)
|
||||
|
||||
self.other_user = self._make_user('other') # pylint:disable=attribute-defined-outside-init
|
||||
self.dashboard_page = DashboardPage(self.browser) # pylint:disable=attribute-defined-outside-init
|
||||
self.page = CourseTeamPage( # pylint:disable=attribute-defined-outside-init
|
||||
self.other_user = self._make_user('other')
|
||||
self.dashboard_page = DashboardPage(self.browser)
|
||||
self.page = CourseTeamPage(
|
||||
self.browser, self.course_info['org'], self.course_info['number'], self.course_info['run']
|
||||
)
|
||||
self._go_to_course_team_page()
|
||||
|
||||
@@ -19,7 +19,7 @@ class LibraryEditPageTest(StudioLibraryTest):
|
||||
"""
|
||||
Test the functionality of the library edit page.
|
||||
"""
|
||||
def setUp(self): # pylint: disable=arguments-differ
|
||||
def setUp(self):
|
||||
"""
|
||||
Ensure a library exists and navigate to the library edit page.
|
||||
"""
|
||||
@@ -192,7 +192,7 @@ class LibraryNavigationTest(StudioLibraryTest):
|
||||
"""
|
||||
Test common Navigation actions
|
||||
"""
|
||||
def setUp(self): # pylint: disable=arguments-differ
|
||||
def setUp(self):
|
||||
"""
|
||||
Ensure a library exists and navigate to the library edit page.
|
||||
"""
|
||||
@@ -206,7 +206,6 @@ class LibraryNavigationTest(StudioLibraryTest):
|
||||
Create four pages worth of XBlocks, and offset by one so each is named
|
||||
after the number they should be in line by the user's perception.
|
||||
"""
|
||||
# pylint: disable=attribute-defined-outside-init
|
||||
self.blocks = [XBlockFixtureDesc('html', str(i)) for i in xrange(1, 41)]
|
||||
library_fixture.add_children(*self.blocks)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user