qbit-maid/test_qbitmaid.py

18 lines
578 B
Python
Raw Normal View History

2022-08-11 08:57:07 -05:00
import unittest
from qprocess import torprocessor
2022-08-11 21:06:37 -05:00
import json
import logging
import sys
2022-08-11 08:57:07 -05:00
class TestQprocess(unittest.TestCase):
2022-08-11 21:06:37 -05:00
def test_log_and_test_data(self):
self.log= logging.getLogger( "SomeTest.testSomething" )
self.tracker_list = open("./test/torrentinfo.txt", "r")
self.log.debug(self.tracker_list)
assert self.tracker_list
# torprocessor(self)
2022-08-11 08:57:07 -05:00
if __name__ == '__main__':
2022-08-11 21:06:37 -05:00
logging.basicConfig( stream=sys.stderr )
logging.getLogger( "SomeTest.testSomething" ).setLevel( logging.DEBUG )
2022-08-11 08:57:07 -05:00
unittest.main()