tests + profile.py

This commit is contained in:
ingvar1995 2016-02-18 19:15:38 +03:00
parent 3ab7794d17
commit 14dd46b716
6 changed files with 78 additions and 22 deletions

View file

@ -1,6 +1,7 @@
from src.settings import Settings
from src.tox import Tox
import sys
from src.profile import Profile
import os
@ -34,3 +35,10 @@ class TestTox():
assert tox.get_savedata_size()
except:
assert 0
class TestProfile():
def test_search(self):
arr = Profile.find_profiles()
assert arr