示例#1
0
 def testRelativeDirname(self):
   self.assertEqual('foo', os_path_mock.dirname('foo/bar'))
示例#2
0
 def testAbsoluteDirname(self):
   self.assertEqual('/foo', os_path_mock.dirname('/foo/bar'))