Exemplo n.º 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
Exemplo n.º 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