mocking pyside for doc