Пример #1
0
def test_query_data_with_bool(capsys):
    snippets.query_data_with_bool(INSTANCE_ID, DATABASE_ID)
    out, _ = capsys.readouterr()
    assert 'VenueId: 19, VenueName: Venue 19, OutdoorVenue: True' in out
Пример #2
0
def test_query_data_with_bool(capsys, instance_id, sample_database):
    snippets.query_data_with_bool(instance_id, sample_database.database_id)
    out, _ = capsys.readouterr()
    assert "VenueId: 19, VenueName: Venue 19, OutdoorVenue: True" in out