check if we can trick util.removepathprefix.
This commit is contained in:
@@ -18,4 +18,8 @@ class UtilTestCase(unittest.TestCase):
|
||||
a = removepathprefix('usr/local', 'usr/local/lib')
|
||||
self.assertEqual(a, 'lib')
|
||||
|
||||
a = removepathprefix('usr/local/', 'usr/local/lib')
|
||||
self.assertEqual(a, 'lib')
|
||||
|
||||
|
||||
suite = unittest.makeSuite(UtilTestCase)
|
||||
|
||||
Reference in New Issue
Block a user