class TestRetorrenter(unittest.TestCase):

    def setUp(self):
        self.r = Retorrenter(StubConfig())


    def test_is_of_interest_if_intermeds_should_be_ignored(self):
        self.assertEqual(False,
            self.r.is_of_interest('/a/TARGET/Extras/some_extra.mkv', 'Extras', 'some_extra.mkv'))
Example #2
0
class TestRetorrenter(unittest.TestCase):

    def setUp(self):
        self.r = Retorrenter()



    def test_is_of_interest_if_intermeds_should_be_ignored(self):
        self.r.global_conf['ignore_if_in_path'] = ['extras']

        self.assertEqual(False,
            self.r.is_of_interest('/a/TARGET/Extras/some_extra.mkv', 'Extras', 'some_extra.mkv'))
 def setUp(self):
     self.r = Retorrenter(StubConfig())
Example #4
0
 def setUp(self):
     self.r = Retorrenter()