Skip to content

Commit

Permalink
Fix monitoring test
Browse files Browse the repository at this point in the history
Change-Id: I31c4dc368617996bc5b95c1414a39b9d45e11ebe
  • Loading branch information
Jon Wayne Parrott committed Oct 14, 2016
1 parent 0cf9d4f commit efe65f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions monitoring/api/v3/list_resources_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_list_monitored_resources(cloud_config, capsys):
client, PROJECT_RESOURCE)
stdout, _ = capsys.readouterr()
regex = re.compile(
'An application running')
'An application running', re.I)
assert regex.search(stdout) is not None


Expand All @@ -49,7 +49,7 @@ def test_list_metrics(cloud_config, capsys):
client, PROJECT_RESOURCE, METRIC)
stdout, _ = capsys.readouterr()
regex = re.compile(
u'Delta CPU usage time')
u'Delta CPU', re.I)
assert regex.search(stdout) is not None


Expand All @@ -60,5 +60,5 @@ def test_list_timeseries(cloud_config, capsys):
list_resources.list_timeseries(
client, PROJECT_RESOURCE, METRIC)
stdout, _ = capsys.readouterr()
regex = re.compile(u'list_timeseries response:\n')
regex = re.compile(u'list_timeseries response:\n', re.I)
assert regex.search(stdout) is not None

0 comments on commit efe65f1

Please sign in to comment.