def test_create_table_with_timestamp(temporary_database, capsys):
    snippets.create_table_with_timestamp(
        SPANNER_INSTANCE,
        temporary_database.database_id)

    out, _ = capsys.readouterr()

    assert 'Performances' in out
Ejemplo n.º 2
0
def test_create_table_with_timestamp(capsys):
    snippets.create_table_with_timestamp(INSTANCE_ID, DATABASE_ID)
    out, _ = capsys.readouterr()
    assert 'Created Performances table on database' in out
Ejemplo n.º 3
0
def test_create_table_with_timestamp(capsys, instance_id, sample_database):
    snippets.create_table_with_timestamp(instance_id,
                                         sample_database.database_id)
    out, _ = capsys.readouterr()
    assert "Created Performances table on database" in out
def test_create_table_with_timestamp(capsys):
    snippets.create_table_with_timestamp(INSTANCE_ID, DATABASE_ID)
    out, _ = capsys.readouterr()
    assert 'Created Performances table on database' in out