def _(): snippets.query_data_with_index( SPANNER_INSTANCE, temporary_database_with_indexes.database_id) out, _ = capsys.readouterr() assert 'Go, Go, Go' in out
def _(): snippets.query_data_with_index( SPANNER_INSTANCE, temporary_database_with_indexes.database_id) out, _ = capsys.readouterr() assert 'Go, Go, Go' in out
def _(): snippets.query_data_with_index( cloud_config.spanner_instance, temporary_database_with_indexes.database_id) out, _ = capsys.readouterr() assert 'Go, Go, Go' in out
def _(): snippets.query_data_with_index( cloud_config.spanner_instance, temporary_database_with_indexes.database_id) out, _ = capsys.readouterr() assert 'Go, Go, Go' in out
def test_query_data_with_index(capsys): snippets.query_data_with_index(INSTANCE_ID, DATABASE_ID) out, _ = capsys.readouterr() assert 'Go, Go, Go' in out assert 'Forever Hold Your Peace' in out assert 'Green' not in out
def test_query_data_with_index(capsys, instance_id, sample_database): snippets.query_data_with_index(instance_id, sample_database.database_id) out, _ = capsys.readouterr() assert "Go, Go, Go" in out assert "Forever Hold Your Peace" in out assert "Green" not in out
def test_query_data_with_index(capsys): snippets.query_data_with_index(INSTANCE_ID, DATABASE_ID) out, _ = capsys.readouterr() assert 'Go, Go, Go' in out assert 'Forever Hold Your Peace' in out assert 'Green' not in out