Ticket #311 (assigned defect)
IPv6 tests fails if we pass tuple
|Reported by:||getxsick||Owned by:||kosma|
|Priority:||medium||Milestone:||UMPA 0.4.0 - autogeneration+IPv6|
TestIPv6AddrField.test_set for this testcase:
As ignotus mention the problem is that 0xFFFF == 65535 and UMPA handles 65535 as 0x65535 what gives in result 415029
Of course it's wrong.
The buggy code is in IPAddrField._is_valid(), propably line:
i_base = int(i, self.base)
self.base == 16 and so on. But we need it for other cases. More invastigation is needed.