source [expr {[info exists ::env(TESTS_DIR)] ? "$env(TESTS_DIR)/interactive/ly.tcl" : "ly.tcl"}] set ipv6_path "/ietf-interfaces:interfaces/interface/ietf-ip:ipv6/address" test print_yang {} { -setup $ly_setup -cleanup $ly_cleanup -body { ly_cmd "load modleaf" ly_cmd "print -f yang modleaf" "leaf lfl" }} test print_yang_submodule {Print submodule in yang format} { -setup $ly_setup -cleanup $ly_cleanup -body { ly_cmd "load modinclude" ly_cmd "print -f yang modsub" "submodule modsub" }} test print_yin {} { -setup $ly_setup -cleanup $ly_cleanup -body { ly_cmd "load modleaf" ly_cmd "print -f yin modleaf" "" }} test print_yin_submodule {Print submodule in yin format} { -setup $ly_setup -cleanup $ly_cleanup -body { ly_cmd "load modinclude" ly_cmd "print -f yin modsub" "