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