Changes between Initial Version and Version 1 of Ticket #33609, comment 2


Ignore:
Timestamp:
Mar 30, 2022, 10:50:27 AM (2 years ago)
Author:
David

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33609, comment 2

    initial v1  
    55
    66Having a custom implementation of `assertCountEqual` in `assertQuerysetEqual` would not be DRY. Also is much easier to understand assertion output with unittests method than with the current implementation.
     7
     8
     9PS: while testing if this could be used I have also checked that the input provided to  `AssertQuerysetEqualTests.test_maxdiff` does not get truncated with `assertCountEqual`, because it just points out differences (which is a single line).
Back to Top