projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Optimization of "check_for_metric" function
[osm/MON.git]
/
osm_mon
/
test
/
OpenStack
/
unit
/
test_alarming.py
diff --git
a/osm_mon/test/OpenStack/unit/test_alarming.py
b/osm_mon/test/OpenStack/unit/test_alarming.py
index
c45c052
..
a46e1f3
100644
(file)
--- a/
osm_mon/test/OpenStack/unit/test_alarming.py
+++ b/
osm_mon/test/OpenStack/unit/test_alarming.py
@@
-287,4
+287,4
@@
class TestAlarming(unittest.TestCase):
self.alarming.check_for_metric(auth_token, metric_endpoint, "metric_name", "r_id")
perf_req.assert_called_with(
self.alarming.check_for_metric(auth_token, metric_endpoint, "metric_name", "r_id")
perf_req.assert_called_with(
- "metric_endpoint/v1/
metric?sort=name:asc
", auth_token, req_type="get")
+ "metric_endpoint/v1/
resource/generic/r_id
", auth_token, req_type="get")