def test_query_data_with_string(capsys): snippets.query_data_with_string(INSTANCE_ID, DATABASE_ID) out, _ = capsys.readouterr() assert 'VenueId: 42, VenueName: Venue 42' in out
def test_query_data_with_string(capsys, instance_id, sample_database): snippets.query_data_with_string(instance_id, sample_database.database_id) out, _ = capsys.readouterr() assert "VenueId: 42, VenueName: Venue 42" in out