Stable test order.
This commit is contained in:
parent
ea4472cd7c
commit
d88b97573d
1 changed files with 1 additions and 0 deletions
|
@ -153,6 +153,7 @@ def generate_comic_testers():
|
||||||
scraperclass for scraperclass in scraper.get_scraperclasses()
|
scraperclass for scraperclass in scraper.get_scraperclasses()
|
||||||
if scraperclass.getName() in testscrapernames
|
if scraperclass.getName() in testscrapernames
|
||||||
]
|
]
|
||||||
|
scraperclasses.sort(key=lambda scraperclass: scraperclass.__name__)
|
||||||
for scraperclass in scraperclasses:
|
for scraperclass in scraperclasses:
|
||||||
name = 'Test'+scraperclass.__name__
|
name = 'Test'+scraperclass.__name__
|
||||||
g[name] = make_comic_tester(name, scraperclass=scraperclass)
|
g[name] = make_comic_tester(name, scraperclass=scraperclass)
|
||||||
|
|
Loading…
Reference in a new issue