mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2026-06-19 07:35:19 +00:00
Tests: added new uuid_ property to own CustomClass methods
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user