Lines Matching full:buses

486     assert isinstance(edt.get_node("/buses/foo-bus").buses, list)
487 assert "foo" in edt.get_node("/buses/foo-bus").buses
490 assert isinstance(edt.get_node("/buses/foo-bus").on_buses, list)
491 assert not edt.get_node("/buses/foo-bus").on_buses
492 assert edt.get_node("/buses/foo-bus").bus_node is None
495 assert isinstance(edt.get_node("/buses/foo-bus/node1").buses, list)
496 assert not edt.get_node("/buses/foo-bus/node1").buses
498 assert isinstance(edt.get_node("/buses/foo-bus/node1").on_buses, list)
499 assert "foo" in edt.get_node("/buses/foo-bus/node1").on_buses
500 assert edt.get_node("/buses/foo-bus/node1").bus_node.path == \
501 "/buses/foo-bus"
504 assert isinstance(edt.get_node("/buses/foo-bus/node2").buses, list)
505 assert not edt.get_node("/buses/foo-bus/node2").buses
507 assert isinstance(edt.get_node("/buses/foo-bus/node2").on_buses, list)
508 assert "foo" in edt.get_node("/buses/foo-bus/node2").on_buses
511 assert isinstance(edt.get_node("/buses/no-bus-node").buses, list)
512 assert not edt.get_node("/buses/no-bus-node").buses
514 assert isinstance(edt.get_node("/buses/no-bus-node").on_buses, list)
515 assert not edt.get_node("/buses/no-bus-node").on_buses
518 # buses
519 assert str(edt.get_node("/buses/foo-bus/node1").binding_path) == \
521 assert str(edt.get_node("/buses/foo-bus/node2").binding_path) == \
523 assert str(edt.get_node("/buses/bar-bus/node").binding_path) == \
525 assert str(edt.get_node("/buses/no-bus-node").binding_path) == \
529 assert isinstance(edt.get_node("/buses/foo-bus/node1/nested").on_buses, list)
530 assert "foo" in edt.get_node("/buses/foo-bus/node1/nested").on_buses
531 assert str(edt.get_node("/buses/foo-bus/node1/nested").binding_path) == \