Tests: added new uuid_ property to own CustomClass methods

This commit is contained in:
zeroone2numeral2 2021-06-17 12:44:26 +02:00
parent 1c2583041a
commit 9e67463cf7

View file

@ -597,6 +597,7 @@ class TestBasePersistence:
cc.frozenset_ = frozenset(cc.list_)
cc.dict_ = {item: item for item in cc.list_}
cc.defaultdict_ = defaultdict(dict, cc.dict_)
cc.uuid_ = cc.uuid_
return cc
def __eq__(self, other):
@ -610,6 +611,7 @@ class TestBasePersistence:
and self.frozenset_ == other.frozenset_
and self.dict_ == other.dict_
and self.defaultdict_ == other.defaultdict_
and self.uuid_ == other.uuid_
)
return False