Fix some comics and increase travis test number.

This commit is contained in:
Bastian Kleineidam 2013-02-26 06:12:46 +01:00
parent 41c954b309
commit 09df20cd1f
4 changed files with 4 additions and 4 deletions

View file

@ -194,7 +194,6 @@ add('Dromo', '/dro-mo')
add('DudeandDude', '/dudedude') add('DudeandDude', '/dudedude')
add('DumbQuestionBadAnswer', '/dumb-question-bad-answer') add('DumbQuestionBadAnswer', '/dumb-question-bad-answer')
add('DustSpecks', '/dust-specks') add('DustSpecks', '/dust-specks')
add('DutchnPals', '/dutch-n-pals')
add('EGGMEN', '/eggmen') add('EGGMEN', '/eggmen')
add('EclecticCartoons', '/eclectic-cartoons') add('EclecticCartoons', '/eclectic-cartoons')
add('Eddie', '/eddie') add('Eddie', '/eddie')
@ -484,7 +483,6 @@ add('SigneWilkinson', '/signewilkinson')
add('SkinHorse', '/skinhorse') add('SkinHorse', '/skinhorse')
add('Skippy', '/skippy') add('Skippy', '/skippy')
add('Skylarking', '/skylarking') add('Skylarking', '/skylarking')
add('Slowpoke', '/slowpoke')
add('SmallWorld', '/smallworld') add('SmallWorld', '/smallworld')
add('Smith', '/smith') add('Smith', '/smith')
add('SnowSez', '/snowsez') add('SnowSez', '/snowsez')

View file

@ -29,6 +29,7 @@ exclude_comics = [
"DALTONDOG", # comic unavailable "DALTONDOG", # comic unavailable
"DellAndSteve", # too few comics "DellAndSteve", # too few comics
"Dilbert", # redirect "Dilbert", # redirect
"DutchnPals", # too few comics
"InkeeDoodles", # comic unavailable "InkeeDoodles", # comic unavailable
"MaggiesComics", # too few comics "MaggiesComics", # too few comics
"OfMiceandMud", # too few comics "OfMiceandMud", # too few comics
@ -37,6 +38,7 @@ exclude_comics = [
"PS", # comic unavailable "PS", # comic unavailable
"RichardsPoorAlmanac", # missing images "RichardsPoorAlmanac", # missing images
"SherpaAid", # comic unavailable "SherpaAid", # comic unavailable
"Slowpoke", # comic moved
"SparComics", # comic unavailable "SparComics", # comic unavailable
"SurvivingSingle", # comic unavailable "SurvivingSingle", # comic unavailable
"WhatTheFrak", # too few comics "WhatTheFrak", # too few comics

View file

@ -93,7 +93,7 @@ def generate_comic_testers():
g = globals() g = globals()
if "TRAVIS" in os.environ: if "TRAVIS" in os.environ:
# Get limited number of scraper tests on Travis builds. # Get limited number of scraper tests on Travis builds.
max_scrapers = 500 max_scrapers = 1000
scraperclasses = islice(scraper.get_scraperclasses(), 0, max_scrapers) scraperclasses = islice(scraper.get_scraperclasses(), 0, max_scrapers)
else: else:
scraperclasses = scraper.get_scraperclasses() scraperclasses = scraper.get_scraperclasses()

View file

@ -20,7 +20,7 @@ class URLTest(TestCase):
def test_normalisation(self): def test_normalisation(self):
# Test URL normalisation. # Test URL normalisation.
self.assertEqual(normaliseURL('http://example.com//bar/baz&baz'), self.assertEqual(normaliseURL('http://example.com//bar/baz&baz'),
u'http://example.com/bar/baz%26baz') u'http://example.com/bar/baz&baz')
class RegexTest(TestCase): class RegexTest(TestCase):