def test_list_resources(capsys):
    snippets.list_monitored_resources(snippets.project_id())
    out, _ = capsys.readouterr()
    assert 'pubsub_topic' in out
Ejemplo n.º 2
0
def test_list_resources(capsys):
    snippets.list_monitored_resources()
    out, _ = capsys.readouterr()
    assert 'pubsub_topic' in out
Ejemplo n.º 3
0
def test_list_resources(capsys):
    snippets.list_monitored_resources(PROJECT_ID)
    out, _ = capsys.readouterr()
    assert "pubsub_topic" in out