tests + profile.py
This commit is contained in:
parent
3ab7794d17
commit
14dd46b716
6 changed files with 78 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue