def test_update_backup(capsys):
    backup_sample.update_backup(INSTANCE_ID, BACKUP_ID)
    out, _ = capsys.readouterr()
    assert BACKUP_ID in out
Exemple #2
0
def test_update_backup(capsys, instance_id):
    backup_sample.update_backup(instance_id, BACKUP_ID)
    out, _ = capsys.readouterr()
    assert BACKUP_ID in out