예제 #1
0
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
예제 #2
0
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