Esempio n. 1
0
def test_update_data_with_numeric(capsys):
    snippets.update_data_with_numeric(INSTANCE_ID, DATABASE_ID)
    out, _ = capsys.readouterr()
    assert 'Updated data' in out
Esempio n. 2
0
def test_update_data_with_numeric(capsys, instance_id, sample_database):
    snippets.update_data_with_numeric(instance_id, sample_database.database_id)
    out, _ = capsys.readouterr()
    assert "Updated data" in out