Skip to content

Commit

Permalink
HH-32061 add method class to _handler
Browse files Browse the repository at this point in the history
  • Loading branch information
pdidevich authored and A.Shaposhnikov committed Feb 21, 2013
1 parent 617d083 commit 2604fdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontik/testing/service_mock.py
Expand Up @@ -252,6 +252,8 @@ def process_callbacks(self):
callback()

def call(self, method, *arg, **kwarg):
if hasattr(method, 'im_class'):
self._handler.__class__ = type('Page', (method.im_class,) + self._handler.__class__.__bases__, {})
handler = self._handler
handler.prepare()
handler._finished = False
Expand Down

0 comments on commit 2604fdd

Please sign in to comment.