def test_list_timeseries(cloud_config, capsys): PROJECT_RESOURCE = "projects/{}".format(cloud_config.project) client = list_resources.get_client() list_resources.list_timeseries(client, PROJECT_RESOURCE, METRIC) stdout, _ = capsys.readouterr() regex = re.compile(u'list_timeseries response:\n', re.I) assert regex.search(stdout) is not None
def test_list_timeseries(cloud_config, client, capsys): PROJECT_RESOURCE = "projects/{}".format(cloud_config.project) list_resources.list_timeseries( client, PROJECT_RESOURCE, METRIC) stdout, _ = capsys.readouterr() regex = re.compile(u'list_timeseries response:\n', re.I) assert regex.search(stdout) is not None
def test_list_timeseries(capsys): client = list_resources.get_client() list_resources.list_timeseries( client, PROJECT_RESOURCE, METRIC) stdout, _ = capsys.readouterr() regex = re.compile(u'list_timeseries response:\n') assert regex.search(stdout) is not None
def test_list_timeseries(capsys): client = list_resources.get_client() list_resources.list_timeseries(client, PROJECT_RESOURCE, METRIC) stdout, _ = capsys.readouterr() regex = re.compile(u'list_timeseries response:\n') assert regex.search(stdout) is not None