def test_add_numeric_column(capsys): snippets.add_numeric_column(INSTANCE_ID, DATABASE_ID) out, _ = capsys.readouterr() assert 'Altered table "Venue" on database ' in out
def test_add_numeric_column(capsys, instance_id, sample_database): snippets.add_numeric_column(instance_id, sample_database.database_id) out, _ = capsys.readouterr() assert 'Altered table "Venues" on database ' in out