From 704344fae217a28c9fdc37d16ed8881cda3a5951 Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Sat, 11 Feb 2017 20:23:08 +0300 Subject: [PATCH] toxes tests fix --- tests/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tests.py b/tests/tests.py index ca7275c..2a9afe6 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -1,6 +1,6 @@ from toxygen.profile import * from toxygen.tox_dns import tox_dns -import toxygen.toxencryptsave as encr +import toxygen.toxes as encr import toxygen.messages as m import time @@ -53,8 +53,8 @@ class TestEncryption: def test_encr_decr(self): tox = tox_factory() data = tox.get_savedata() - lib = encr.ToxEncryptSave() - for password in ('easypassword', 'njvnjfnvaGGV6', 'toxygen'): + lib = encr.ToxES() + for password in ('easypassword', 'njvnFjfn7vaGGV6', 'toxygen'): lib.set_password(password) copy_data = data[:] new_data = lib.pass_encrypt(data)