Mercurial > piecrust2
changeset 439:c0700c6d9545
tests: Fix crash in processing tests.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 27 Jun 2015 22:28:32 -0700 |
parents | cff70eeb1cc1 |
children | 32c7c2d219d2 |
files | tests/conftest.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/conftest.py Sat Jun 27 22:18:50 2015 -0700 +++ b/tests/conftest.py Sat Jun 27 22:28:32 2015 -0700 @@ -324,14 +324,14 @@ class CompareContext(object): - def __init__(self, path=None): + def __init__(self, path=None, t=None): self.path = path or '' - self.time = time.time() + self.time = t or time.time() def createChildContext(self, name): ctx = CompareContext( path='%s/%s' % (self.path, name), - time=self.time) + t=self.time) return ctx