A helper that allows to debug failing text comparison on x-large text To use, put it before TestCase in class inheritance list.
To get a chance to observe each failure, define XLONGTEXTCOMPARE=’interactive’ and run your tests. Once you get to a failing test pdb will be started. Then you can inspect two files /tmp/actual and /tmp/expected for example, with vimdiff.
Like resource_string, but loaded as JSON.
Parameters: |
|
---|---|
Returns: | deserialized json object |