mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +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:
@@ -13,11 +13,11 @@ from ansible_collections.community.internal_test_tools.tests.unit.plugins.module
|
||||
class TestCampfireModule(ModuleTestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(TestCampfireModule, self).setUp()
|
||||
super().setUp()
|
||||
self.module = campfire
|
||||
|
||||
def tearDown(self):
|
||||
super(TestCampfireModule, self).tearDown()
|
||||
super().tearDown()
|
||||
|
||||
@pytest.fixture
|
||||
def fetch_url_mock(self, mocker):
|
||||
|
||||
Reference in New Issue
Block a user