def test_update(example_sink, capsys): updated_filter = 'severity>=INFO' export.update_sink(example_sink.name, updated_filter) example_sink.reload() assert example_sink.filter_ == updated_filter