def test_id(): virtualbus = VirtualBus() subnode = SubNode(virtualbus) assert subnode.get_subnode_id() is not None