mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 14:35:00 +01:00
Tests: added new uuid_ property to own CustomClass methods
This commit is contained in:
parent
1c2583041a
commit
9e67463cf7
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue