def test_delete_backup(capsys, instance_id): backup_sample.delete_backup(instance_id, BACKUP_ID) out, _ = capsys.readouterr() assert BACKUP_ID in out backup_sample.delete_backup(instance_id, COPY_BACKUP_ID) out, _ = capsys.readouterr() assert COPY_BACKUP_ID in out
def test_delete_backup(capsys, spanner_instance): backup_sample.delete_backup(INSTANCE_ID, BACKUP_ID) out, _ = capsys.readouterr() assert BACKUP_ID in out