def test_has_false(self): assert shackles.has(obj, 'e.b') == False
def test_has_list(self): assert shackles.has(obj, ['a','b']) == True assert shackles.has(obj, ['a','b','name']) == True
def test_has_tuple(self): assert shackles.has(obj, ('a','b')) == True assert shackles.has(obj, ('a','b','name')) == True
def test_has_str(self): assert shackles.has(obj, 'a.b') == True assert shackles.has(obj, 'a.b.name') == True
def test_has_false(self): assert shackles.has(self.obj, 'e.b') == False
def test_has_tuple(self): assert shackles.has(self.obj, ('a', 'b')) == True assert shackles.has(self.obj, ('a', 'b', 'name')) == True
def test_has_list(self): assert shackles.has(self.obj, ['a', 'b']) == True assert shackles.has(self.obj, ['a', 'b', 'name']) == True
def test_has_str(self): assert shackles.has(self.obj, 'a.b') == True assert shackles.has(self.obj, 'a.b.name') == True