From 64173860e150d155073cf5d4b989f7c554099c0a Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Thu, 18 Feb 2016 22:03:21 +0300 Subject: [PATCH] test update --- tests/tests.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tests/tests.py b/tests/tests.py index e2beabe..0c2cc24 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -26,12 +26,19 @@ class TestTox(): data = Profile.open_profile(Settings.get_default_path(), 'tox_save') try: tox = Tox(data, settings) + except: + raise + assert 0 + try: key = tox.self_get_public_key() - assert key - assert len(key.raw) == 32 + except: + raise + assert 0 + assert len(key.raw) == 32 + try: del tox except: - assert 0 + raise class TestProfile():