File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ def test_query_index(matcher_instance):
77
77
def test_query_index_uuid (uuid_matcher_instance ):
78
78
index = "test_index"
79
79
search = Search (using = uuid_matcher_instance .es , index = index )
80
- result = uuid_matcher_instance .query_index (index , search )
80
+ result = uuid_matcher_instance .query_index (search )
81
81
expected = {
82
82
"hits" : {
83
83
"hits" : [
@@ -272,14 +272,14 @@ def test_get_results(matcher_instance):
272
272
assert result == expected
273
273
274
274
275
- def test_getResultsUUID (uuid_matcher_instance ):
275
+ def test_get_resultsUUID (uuid_matcher_instance ):
276
276
test_uuid = "uuid1"
277
277
test_uuids = ["uuid1" , "uuid2" ]
278
278
test_metrics = {
279
279
"metricName" : "nodeCPUSeconds-Infra" ,
280
280
"mode" : "iowait"
281
281
}
282
- result = uuid_matcher_instance .getResults (
282
+ result = uuid_matcher_instance .get_results (
283
283
test_uuid , test_uuids , "krkn-metrics" , test_metrics
284
284
)
285
285
expected = [
@@ -374,7 +374,7 @@ def test_get_agg_metric_query_uuid(uuid_matcher_instance):
374
374
)
375
375
376
376
result = uuid_matcher_instance .get_agg_metric_query (
377
- test_uuids , "test_index" , test_metrics
377
+ test_uuids , metrics
378
378
)
379
379
assert result == expected
380
380
You can’t perform that action at this time.
0 commit comments