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