Mercurial > hg > pyloader
diff tests/objects.py @ 60:cc361ad8a692
stub out future directions for decorators and their testing a bit
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 09 Jun 2011 09:07:08 -0700 |
parents | 2a1648a53857 |
children | 20bdb8125817 |
line wrap: on
line diff
--- a/tests/objects.py Thu Jun 09 08:17:08 2011 -0700 +++ b/tests/objects.py Thu Jun 09 09:07:08 2011 -0700 @@ -24,7 +24,7 @@ class Wrapper(object): def __init__(self, app, **values): self.app = app - self.values = dict([(int(i), j) for i, j in values]) # TODO: should be automagically converted ideally via pyloader + self.values = dict([(int(j), i) for i, j in values]) # TODO: should be automagically converted ideally via pyloader def __call__(self, *args, **kwargs): retval = self.app(*args, **kwargs) values = {1: 'one',