def test_getParent(self): table = SymTable() table._parent = SymTable() assert table.getParent() is not None
def test_hasParent(self): table = SymTable() table._parent = SymTable() assert(table.hasParent())