fix PEP8 Err in test_proxmox_backup_schedule.py

This commit is contained in:
raoufnezhad 2025-03-17 13:54:59 +03:30 committed by GitHub
parent 8c3ff95648
commit 163bca3353
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -184,7 +184,9 @@ class TestProxmoxBackupScheduleModule(ModuleTestCase):
RESOURCE_LIST
)
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):