2023-08-04 18:27:03 +00:00
|
|
|
from collections import namedtuple
|
|
|
|
|
2023-09-04 18:36:48 +00:00
|
|
|
import configs
|
|
|
|
|
2023-08-10 11:43:17 +00:00
|
|
|
UserAccount = namedtuple('User', ['name', 'password', 'seed_phrase'])
|
2023-09-14 08:51:22 +00:00
|
|
|
user_account_one = UserAccount('squisher', '0000000000', [
|
2023-08-10 11:43:17 +00:00
|
|
|
'rail', 'witness', 'era', 'asthma', 'empty', 'cheap', 'shed', 'pond', 'skate', 'amount', 'invite', 'year'
|
|
|
|
])
|
2023-09-14 08:51:22 +00:00
|
|
|
user_account_two = UserAccount('athletic', '0000000000', [
|
2023-09-11 18:24:13 +00:00
|
|
|
'measure', 'cube', 'cousin', 'debris', 'slam', 'ignore', 'seven', 'hat', 'satisfy', 'frown', 'casino', 'inflict'
|
|
|
|
])
|
2023-09-14 08:51:22 +00:00
|
|
|
user_account_three = UserAccount('nervous', '000000000', [])
|
2023-08-29 14:43:00 +00:00
|
|
|
|
2023-09-22 08:44:29 +00:00
|
|
|
user_account_one_changed_password = UserAccount('squisher', 'NewPassword@12345', [])
|
|
|
|
|
|
|
|
user_account_one_changed_name = UserAccount('NewUserName', '0000000000', [])
|
2023-09-20 11:35:56 +00:00
|
|
|
|
2023-09-11 18:24:13 +00:00
|
|
|
community_params = {
|
2023-09-04 18:36:48 +00:00
|
|
|
'name': 'Name',
|
|
|
|
'description': 'Description',
|
|
|
|
'logo': {'fp': configs.testpath.TEST_FILES / 'tv_signal.png', 'zoom': None, 'shift': None},
|
|
|
|
'banner': {'fp': configs.testpath.TEST_FILES / 'banner.png', 'zoom': None, 'shift': None},
|
|
|
|
'intro': 'Intro',
|
|
|
|
'outro': 'Outro'
|
|
|
|
}
|
2023-08-29 14:43:00 +00:00
|
|
|
|
2023-09-04 18:36:48 +00:00
|
|
|
UserCommunityInfo = namedtuple('CommunityInfo', ['name', 'description', 'members', 'image'])
|
|
|
|
UserChannel = namedtuple('Channel', ['name', 'image', 'selected'])
|
2023-09-05 06:22:44 +00:00
|
|
|
|
2023-09-11 18:24:13 +00:00
|
|
|
account_list_item = namedtuple('AccountListItem', ['name', 'color', 'emoji'])
|
2023-09-15 04:17:07 +00:00
|
|
|
wallet_account_list_item = namedtuple('WalletAccountListItem', ['name', 'icon', 'object'])
|