Beispiel #1
0
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
Beispiel #2
0
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