tests + profile.py

This commit is contained in:
ingvar1995 2016-02-18 19:15:38 +03:00
parent 3ab7794d17
commit 14dd46b716
6 changed files with 78 additions and 22 deletions

View file

@ -18,24 +18,25 @@ class Settings(dict):
@staticmethod
def get_default_settings():
return {
"theme": "default",
"ipv6_enabled": True,
"udp_enabled": True,
"proxy_type": 0,
"proxy_host": "0",
"proxy_port": 0,
"start_port": 0,
"end_port": 0,
"tcp_port": 0,
"notifications": True,
"sound_notifications": False,
"language": "en-en",
"save_history": False,
"allow_inline": True,
"allow_auto_accept": False,
"auto_accept_from_friends": [],
"friends_aliases": [],
"typing_notifications": True
'theme': 'default',
'ipv6_enabled': True,
'udp_enabled': True,
'proxy_type': 0,
'proxy_host': '0',
'proxy_port': 0,
'start_port': 0,
'end_port': 0,
'tcp_port': 0,
'notifications': True,
'sound_notifications': False,
'language': 'en-en',
'save_history': False,
'allow_inline': True,
'allow_auto_accept': False,
'auto_accept_from_friends': [],
'friends_aliases': [],
'typing_notifications': True,
'auto_profile': ''
}
def save(self):