test update

This commit is contained in:
ingvar1995 2016-02-18 22:03:21 +03:00
parent dc05277a67
commit 64173860e1

View file

@ -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
except:
raise
assert 0
assert len(key.raw) == 32
try:
del tox
except:
assert 0
raise
class TestProfile():