Closed ikonst closed 5 years ago
(yay, didn't realize there's tests — will review the failures and fix)
ping @shalupov
service messages are limited in length. I'll ask TeamCity whats the current limitation.
I was relying on this for local pytest invocations in PyCharm. If TeamCity imposes stricter limitations than local invocations, can they be told apart?
I've checked, currently there are no known limits. Thanks for the PR
The plugin adapts pytest's output of (in)equality assertions to the format expected by PyCharm's comparison tool. However it gets truncated values from pytest which makes the comparison mostly useless. This fix overrides the truncation(s), and further improves the comparison by making it multiline (for comparing complex structures).
pytest_assertrepr_compare
to work around pytest's SafeRepr truncation