Skip to content

Commit 60a52c0

Browse files
V1NAY8sethmlarson
authored andcommitted
[7.14] Fix unsigned long REST API tests
1 parent 8627d68 commit 60a52c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test_elasticsearch/test_server/test_rest_api_spec.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,11 @@ def run_match(self, action):
367367
value,
368368
expected,
369369
)
370+
elif isinstance(value, list) and isinstance(expected, list):
371+
assert len(value) == len(
372+
expected
373+
), "Length between %r and %r wasn't equal" % (value, expected)
374+
[self._assert_match_equals(a, b) for a, b in zip(value, expected)]
370375
else:
371376
self._assert_match_equals(value, expected)
372377

0 commit comments

Comments
 (0)