mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-19 07:29:31 +08:00
bugfix: length equal
This commit is contained in:
@@ -195,7 +195,7 @@ def match_expected(value, expected, comparator="eq"):
|
||||
elif comparator in ["ne", "not_equals"]:
|
||||
assert value != expected
|
||||
elif comparator in ["len_eq", "length_equal", "count_eq"]:
|
||||
assert len(value) == len(expected)
|
||||
assert len(value) == expected
|
||||
elif comparator in ["lt", "less_than"]:
|
||||
assert value < expected
|
||||
elif comparator in ["le", "less_than_or_equals"]:
|
||||
|
||||
Reference in New Issue
Block a user