Ejemplo n.º 1
0
 def test_get_completions_from_path_with_no_match(self):
   self.assertEquals([], auto_complete._get_completions_from_path(["ns3"]))
Ejemplo n.º 2
0
 def test_get_completions_from_path_with_full_ns_match(self):
   self.assertEquals(["ns11", "ns12"], auto_complete._get_completions_from_path(["ns1"]))
   self.assertEquals(["ns121", "ns122"], auto_complete._get_completions_from_path(["ns1", "ns12"]))