Integrate with pytest
Implement pytest fixture for Mockify context, like this:
def test_foo(mockify_ctx):
mock = Mock('mock', ctx=mockify_ctx)
...
so there will be no need of creating that kind of fixtures from scratch.
Edited by Maciej Wiatrzyk