def test_extend__external_representation(self): a = TuplePath(("k1", )) b = ("k2", ) a.extend(b) self.assertEqual(a, ("k1", "k2"))
def test_extend__same_class(self): a = TuplePath(("k1", )) b = TuplePath(("k2", )) a.extend(b) self.assertEqual(a, ("k1", "k2"))