10000 Fix monitoring test · docent-net/python-docs-samples@efe65f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit efe65f1

Browse files
author
Jon Wayne Parrott
committed
Fix monitoring test
Change-Id: I31c4dc368617996bc5b95c1414a39b9d45e11ebe
1 parent 0cf9d4f commit efe65f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

monitoring/api/v3/list_resources_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_list_monitored_resources(cloud_config, capsys):
3737
client, PROJECT_RESOURCE)
3838
stdout, _ = capsys.readouterr()
3939
regex = re.compile(
40-
'An application running')
40+
'An application running', re.I)
4141
assert regex.search(stdout) is not None
4242

4343

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

5555

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

0 commit comments

Comments
 (0)
0