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)"))
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)"))
def setUp(self): config = ConfigParser.ConfigParser() config.read("comix.conf") self.cbr = ComicServer(config.get("basics", "directory"))