comparison tests/test_dataproviders_pageiterator.py @ 979:45ad976712ec

tests: Big push to get the tests to pass again. - Lots of fixes everywhere in the code. - Try to handle debug logging in the multiprocessing worker pool when running in pytest. Not perfect, but usable for now. - Replace all `.md` test files with `.html` since now a auto-format extension always sets the format. - Replace `out` with `outfiles` in most places since now blog archives are added to the bake output and I don't want to add expected outputs for blog archives everywhere.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 29 Oct 2017 22:51:57 -0700
parents 72f17534d58e
children 31113d52e8be
comparison
equal deleted inserted replaced
978:7e51d14097cb 979:45ad976712ec
44 44
45 45
46 class TestItem(object): 46 class TestItem(object):
47 def __init__(self, value): 47 def __init__(self, value):
48 self.name = str(value) 48 self.name = str(value)
49 self.foo = value 49 self.config = {'foo': value}
50 50
51 def __eq__(self, other): 51 def __eq__(self, other):
52 return other.name == self.name 52 return other.name == self.name
53 53
54 54