init test case
This commit is contained in:
parent
357591227e
commit
f54702ceb6
1
test/torrentinfo.txt
Normal file
1
test/torrentinfo.txt
Normal file
File diff suppressed because one or more lines are too long
12
test_qbitmaid.py
Normal file
12
test_qbitmaid.py
Normal 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()
|
Loading…
x
Reference in New Issue
Block a user