def test_get_backup_sets_calls_archive_service_get_backup_sets_with_expected_params( self, archive_accessor_factory, archive_service ): archive = ArchiveClient(archive_accessor_factory, archive_service) archive.get_backup_sets(TEST_DEVICE_GUID, TEST_DESTINATION_GUID_1) archive_service.get_backup_sets.assert_called_once_with( TEST_DEVICE_GUID, TEST_DESTINATION_GUID_1 )
def test_get_backup_sets_calls_archive_service_get_backup_sets_with_expected_params( self, archive_accessor_manager, archive_service): archive = ArchiveClient(archive_accessor_manager, archive_service) archive.get_backup_sets("device_guid", "dest_guid") archive_service.get_backup_sets.assert_called_once_with( "device_guid", "dest_guid")