def test_json(self): jsondict = self.l.to_jsondict() l = lacp.from_jsondict(jsondict["lacp"]) eq_(str(self.l), str(l))
def test_json(self): jsondict = self.l.to_jsondict() l = lacp.from_jsondict(jsondict['lacp']) eq_(str(self.l), str(l))