From 52a5d248c7385a888e809409fbd20cf666898fb8 Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Sat, 29 Oct 2016 18:10:04 +0300 Subject: [PATCH] tests fix --- tests/tests.py | 2 -- toxygen/profile.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/tests.py b/tests/tests.py index b8ac071..35ee6e3 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -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: diff --git a/toxygen/profile.py b/toxygen/profile.py index fc52a75..93f430d 100644 --- a/toxygen/profile.py +++ b/toxygen/profile.py @@ -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: