daemon: refactored CoreInterface.mac from a string to a netaddr.EUI object, providing more functionality
This commit is contained in:
parent
cfda9509a2
commit
1829a8e2f8
8 changed files with 25 additions and 23 deletions
|
@ -61,7 +61,7 @@ class TestNodes:
|
|||
node.set_mac(iface.node_id, mac)
|
||||
|
||||
# then
|
||||
assert iface.mac == mac
|
||||
assert str(iface.mac) == mac
|
||||
|
||||
def test_node_set_mac_exception(self, session: Session):
|
||||
# given
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue