tests fix

This commit is contained in:
ingvar1995 2016-10-29 18:10:04 +03:00
parent b0389537a1
commit 52a5d248c7
2 changed files with 1 additions and 3 deletions

View File

@ -31,8 +31,6 @@ class TestProfileHelper:
assert ProfileHelper.get_path() == path
assert ph.open_profile() == data
assert os.path.exists(path + 'avatars/')
profiles = ph.find_profiles()
assert len(profiles) == 1
class TestDNS:

View File

@ -87,7 +87,7 @@ class Profile(basecontact.BaseContact, Singleton):
if status is not None:
self._tox.self_set_status(status)
else:
QtCore.QTimer.singleShot(30000, self.reconnect)
QtCore.QTimer.singleShot(45000, self.reconnect)
def set_name(self, value):
if self.name == value: