daemon: refactored CoreInterface.addrlist storing strings into CoreInterface.ip4s and ip6s, stored as netaddr.IPNetwork objects
This commit is contained in:
parent
ca2b1c9e4c
commit
d88f3a2535
20 changed files with 209 additions and 262 deletions
|
@ -87,7 +87,7 @@ class TestNodes:
|
|||
node.addaddr(iface.node_id, addr)
|
||||
|
||||
# then
|
||||
assert iface.addrlist[0] == addr
|
||||
assert str(iface.get_ip4()) == addr
|
||||
|
||||
def test_node_addaddr_exception(self, session):
|
||||
# given
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue