Skip to content

Commit 8627d68

Browse files
V1NAY8sethmlarson
authored andcommitted
[7.14] Make resolved values into strings before substituting into string value
1 parent f0b161b commit 8627d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_elasticsearch/test_server/test_rest_api_spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def _resolve(self, value):
402402
and isinstance(value, string_types)
403403
and key_replace in value
404404
):
405-
value = value.replace(key_replace, v)
405+
value = value.replace(key_replace, str(v))
406406
break
407407

408408
if isinstance(value, string_types):

0 commit comments

Comments
 (0)