Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit efe65f1

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

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎monitoring/api/v3/list_resources_test.py

Copy file name to clipboardExpand all lines: monitoring/api/v3/list_resources_test.py
+3-3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.