mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Cleanup: use super() instead of super(__class__, self) (#11016)
* Address UP008: Use super() instead of super(__class__, self). * Linting.
This commit is contained in:
@@ -53,11 +53,11 @@ class Response:
|
||||
|
||||
class TestPagerDutyAlertModule(ModuleTestCase):
|
||||
def setUp(self):
|
||||
super(TestPagerDutyAlertModule, self).setUp()
|
||||
super().setUp()
|
||||
self.module = pagerduty_alert
|
||||
|
||||
def tearDown(self):
|
||||
super(TestPagerDutyAlertModule, self).tearDown()
|
||||
super().tearDown()
|
||||
|
||||
@pytest.fixture
|
||||
def fetch_url_mock(self, mocker):
|
||||
|
||||
Reference in New Issue
Block a user