menu update, test update

This commit is contained in:
ingvar1995 2016-02-25 15:11:14 +03:00
parent 98aa10b7e0
commit 4957d7ce09
2 changed files with 11 additions and 3 deletions

View file

@ -66,3 +66,11 @@ class TestTox():
for data in node_generator():
tox.bootstrap(*data)
del tox
def test_friend_list(self):
data = Profile.open_profile(Settings.get_default_path(), 'tox_save')
settings = Settings.get_default_settings()
tox = tox_factory(data, settings)
s = tox.self_get_friend_list()
assert s
del tox