Example #1
0
 def test_most_paths_list3(self):
     self.assertEqual(commonpath.most(self.list3), normpath('C:/Users'))
Example #2
0
 def test_most_paths_max_depth(self):
     self.assertEqual(commonpath.most(self.list1, max_depth=3), normpath('/home/user1'))
Example #3
0
 def test_most_paths(self):
     self.assertEqual(commonpath.most(self.list2), normpath('/home'))