示例#1
0
 def test_find_elsewhere(self):
     self.assertEqual(
         find_path_between(('a', 'b'), ('c', 'd')),
         "../c/d.html")
示例#2
0
 def test_find_self(self):
     self.assertEqual(
         find_path_between(('a',), ('a',)),
         "")
示例#3
0
 def test_find_sibling(self):
     self.assertEqual(
         find_path_between(('a',), ('b',)),
         "b.html")