def test_delete_data_with_dml(capsys, instance_id, sample_database): snippets.delete_data_with_dml(instance_id, sample_database.database_id) out, _ = capsys.readouterr() assert "1 record(s) deleted." in out
def test_delete_data_with_dml(capsys): snippets.delete_data_with_dml(INSTANCE_ID, DATABASE_ID) out, _ = capsys.readouterr() assert '1 record(s) deleted.' in out