DescriptionLooking though the tests you have setup for ipaddr it is clear that you want the following to be True
ip1 = ipaddr.IPv4Network('1.1.1.0/24')
ip2 = ipaddr.IPv4Network('1.1.1.1/24')
ip1 == ip2
based on this test
self.assertEquals(ip1.compare_networks(ip2), 0)
So I fixed the ><= operators to reflect this
Patch Set 1 #Patch Set 2 : Updated patch to ensure the hashes are the same #MessagesTotal messages: 3
|