#15 added tag whitelisting

This commit is contained in:
2022-09-02 20:22:04 -05:00
parent 0135f7c13b
commit 0977b12fe1
4 changed files with 22 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
import unittest
from qlist import ispreme,iscatignored,istrackerblank,isprotectedtracker,isnotprotectedtracker,istagblank
from qlist import ispreme,iscatignored,istrackerblank,isprotectedtracker,isnotprotectedtracker,istagblank,isignoredtag
from qprocess import isdownloading,isprotectedunderratio,isoldtor,isprotectedoverratio,isnonprotectedtor
class TestQbitmaid(unittest.TestCase):
@@ -87,6 +87,12 @@ class TestQbitmaid(unittest.TestCase):
def test_isnonprotectedtor(self):
pass
def test_isignoredtag_sanity(self):
self.assertTrue(isignoredtag(['a','b','c'], 'first,second,third,a'))
def test_isignoredtag_sanity(self):
self.assertTrue(isignoredtag(['a','b','c'], 'first,second,third,a'))
# def test__sanity(self):
# pass