def test_update_with_batch_dml(capsys, instance_id, sample_database): snippets.update_with_batch_dml(instance_id, sample_database.database_id) out, _ = capsys.readouterr() assert "Executed 2 SQL statements using Batch DML" in out
def update_with_batch_dml(capsys): snippets.update_with_batch_dml(INSTANCE_ID, DATABASE_ID) out, _ = capsys.readouterr() assert "Executed 2 SQL statements using Batch DML" in out