init test case

This commit is contained in:
jblu 2022-08-11 08:57:07 -05:00
parent 357591227e
commit f54702ceb6
2 changed files with 13 additions and 0 deletions

1
test/torrentinfo.txt Normal file

File diff suppressed because one or more lines are too long

12
test_qbitmaid.py Normal file
View File

@ -0,0 +1,12 @@
import unittest
from qprocess import torprocessor
from json import loads
class TestQprocess(unittest.TestCase):
def test_protected_ratio_below(self):
self.ti = open("./test/torrentinfo.txt")
self.tracker_list = loads(self.ti)
torprocessor(self)
if __name__ == '__main__':
unittest.main()