Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

断言时,如果 校验值和预期值都使用变量的话 值为字符串串型的数字时会导致断言失败.assert_equal('$groupId1', '$groupId2',) #1743

Open
lt0000007 opened this issue Apr 20, 2024 · 0 comments

Comments

@lt0000007
Copy link

系统: Windwos
python: 3.11
httprunner: 4.3.5
response.py 194 行 对check_item 转了int parse_string_value(check_item)
后面对expect_value 没转int
如果值都是字符串型数字 “2” 此时断言失败

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant