Mercurial > hg > pyloader
diff tests/objects.py @ 75:20bdb8125817
inline wrapper arguments now seem to work....thats....uncanny
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 09 Jun 2011 18:31:13 -0700 |
parents | cc361ad8a692 |
children | 2449fb4a89c1 |
line wrap: on
line diff
--- a/tests/objects.py Thu Jun 09 18:21:18 2011 -0700 +++ b/tests/objects.py Thu Jun 09 18:31:13 2011 -0700 @@ -24,7 +24,7 @@ class Wrapper(object): def __init__(self, app, **values): self.app = app - self.values = dict([(int(j), i) for i, j in values]) # TODO: should be automagically converted ideally via pyloader + self.values = dict([(int(j), i) for i, j in values.items()]) # TODO: should be automagically converted ideally via pyloader def __call__(self, *args, **kwargs): retval = self.app(*args, **kwargs) values = {1: 'one',