def test_serialization(self): s = TestRocSkim.skim ser = s.serialize() s2 = Skim.deserialize(ser) assert s == s2
def test_serialization(self): s = TestRocSkim.skim ser = s.serialize() assert 'timeseries' in ser deser = Skim.deserialize(ser) s2 = Skim.new_from_dict(deser) ser2 = s2.serialize() ser.pop('id') ser2.pop('id') assert ser == ser2