def test_update_data_with_numeric(capsys): snippets.update_data_with_numeric(INSTANCE_ID, DATABASE_ID) out, _ = capsys.readouterr() assert 'Updated data' in out
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