Skip to content

Commit 3cb5f73

Browse files
committed
Tests
Signed-off-by: Raul Sevilla <[email protected]>
1 parent 7598946 commit 3cb5f73

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

fmatch/tests/test_matcher.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def test_query_index(matcher_instance):
7777
def test_query_index_uuid(uuid_matcher_instance):
7878
index = "test_index"
7979
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)
8181
expected = {
8282
"hits": {
8383
"hits": [
@@ -272,14 +272,14 @@ def test_get_results(matcher_instance):
272272
assert result == expected
273273

274274

275-
def test_getResultsUUID(uuid_matcher_instance):
275+
def test_get_resultsUUID(uuid_matcher_instance):
276276
test_uuid = "uuid1"
277277
test_uuids = ["uuid1", "uuid2"]
278278
test_metrics = {
279279
"metricName": "nodeCPUSeconds-Infra",
280280
"mode": "iowait"
281281
}
282-
result = uuid_matcher_instance.getResults(
282+
result = uuid_matcher_instance.get_results(
283283
test_uuid, test_uuids, "krkn-metrics", test_metrics
284284
)
285285
expected = [
@@ -374,7 +374,7 @@ def test_get_agg_metric_query_uuid(uuid_matcher_instance):
374374
)
375375

376376
result = uuid_matcher_instance.get_agg_metric_query(
377-
test_uuids, "test_index", test_metrics
377+
test_uuids, test_metrics
378378
)
379379
assert result == expected
380380

0 commit comments

Comments
 (0)