equal
deleted
inserted
replaced
382 |
382 |
383 :param expected: either 'normal' or 'linksearch' (eg searching for an |
383 :param expected: either 'normal' or 'linksearch' (eg searching for an |
384 object to create a relation with another) |
384 object to create a relation with another) |
385 """ |
385 """ |
386 def __init__(self, *expected): |
386 def __init__(self, *expected): |
387 assert expected |
387 assert expected, self |
388 self.expected = frozenset(expected) |
388 self.expected = frozenset(expected) |
389 |
389 |
390 @lltrace |
390 @lltrace |
391 def __call__(self, cls, req, rset, row=None, col=0, **kwargs): |
391 def __call__(self, cls, req, rset, row=None, col=0, **kwargs): |
392 try: |
392 try: |