Lines Matching refs:result
117 result = node.locate(leader_aloc)
118 self.assertEqual(result[0], leader.get_mleid())
119 self.assertEqual(int(result[1], 0), leader.get_addr16())
134 result = node.locate(service_aloc)
135 self.assertEqual(result[0], router4.get_mleid())
136 self.assertEqual(int(result[1], 0), router4.get_addr16())
152 result = node.locate(service_aloc)
153 self.assertEqual(result[0], leader.get_mleid())
154 self.assertEqual(int(result[1], 0), leader.get_addr16())
157 result = node.locate(service_aloc)
158 self.assertEqual(result[0], router4.get_mleid())
159 self.assertEqual(int(result[1], 0), router4.get_addr16())
161 result = router2.locate(service_aloc)
162 self.assertTrue(result[0] in [leader.get_mleid(), router4.get_mleid()])
163 self.assertTrue(int(result[1], 0) in [leader.get_addr16(), router4.get_addr16()])