Exemple #1
0
class TestComicParser(unittest.TestCase):
    def setUp(self):
        config = ConfigParser.ConfigParser()
        config.read("comix.conf")
        self.cbr = ComicServer(config.get("basics", "directory"))
    
    def test_filename_cleaner(self):
        self.assertEqual("Best of the Brave and the Bold",
                         self.cbr._prep_title("Best of the Brave and the Bold (1988)"))
Exemple #2
0
class TestComicParser(unittest.TestCase):
    def setUp(self):
        config = ConfigParser.ConfigParser()
        config.read("comix.conf")
        self.cbr = ComicServer(config.get("basics", "directory"))

    def test_filename_cleaner(self):
        self.assertEqual(
            "Best of the Brave and the Bold",
            self.cbr._prep_title("Best of the Brave and the Bold (1988)"))
Exemple #3
0
 def setUp(self):
     config = ConfigParser.ConfigParser()
     config.read("comix.conf")
     self.cbr = ComicServer(config.get("basics", "directory"))
Exemple #4
0
 def setUp(self):
     config = ConfigParser.ConfigParser()
     config.read("comix.conf")
     self.cbr = ComicServer(config.get("basics", "directory"))