twisted.names.dns.Messages should be compared based on their field values and section contents
|Reported by:||rwall||Owned by:||tom.prince|
(github, coverage, patch, buildbot, log)
Some twisted.names tests would be much easier to write if dns.Message implemented some of the rich comparison methods and if the Messages were compared based on their field values and section contents.
The simplest way to do this is to inherit from FancyEqMixin.
Which is what we've don in the proposed EDNSMessage class in #5675
And see #6847 where I've added FancyStrMixin for a nicer Message repr.