mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-08 19:50:30 -07:00
fix PEP8 Err in test_proxmox_backup_schedule.py
This commit is contained in:
parent
8c3ff95648
commit
163bca3353
1 changed files with 3 additions and 1 deletions
|
@ -184,7 +184,9 @@ class TestProxmoxBackupScheduleModule(ModuleTestCase):
|
||||||
RESOURCE_LIST
|
RESOURCE_LIST
|
||||||
)
|
)
|
||||||
self.connect_mock.return_value.cluster.backup.get.side_effect = (
|
self.connect_mock.return_value.cluster.backup.get.side_effect = (
|
||||||
lambda backup_id=None: BACKUP_JOBS if backup_id is None else [job for job in BACKUP_JOBS if job['id'] == backup_id]
|
lambda backup_id=None: BACKUP_JOBS if backup_id is None else [
|
||||||
|
job for job in BACKUP_JOBS if job['id'] == backup_id
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue