Example #1
0
    def test_equals_abs_rel(self):
        cdir1 = CDir('a/b')
        cdir2 = CDir('/a/b')

        self.assertFalse(cdir1.equals(cdir2))
Example #2
0
    def test_equals(self):
        cdir1 = CDir('a/b')
        cdir2 = CDir('a/b/')

        self.assertTrue(cdir1.equals(cdir2))