# File test/tc_test_mu.rb, line 200 def test_ddt_get_all_sessions api = Mu::Ddt.new(@mu_ip, @mu_admin_user, @mu_admin_pass) api.new_session api.new_session sessions = Nokogiri::XML(api.get_all_sessions) sess = sessions.xpath("//session") assert(sess.length == 2, "expected 2 sessions, got #{sess.length}") ensure api.close_all_sessions end