Expected behaviour
Most of QgisInterface methods should be implemented. Also some signals should be emitted when calling appropriate methods. For example currentLayerChanged should be emitted when calling setActiveLayer.
Current behaviour
Only some of the functionality is implemented and calling unimplemented methods raises errors.
Describe alternatives you've considered
Wrap the whole class inside MagicMock.
Expected behaviour Most of QgisInterface methods should be implemented. Also some signals should be emitted when calling appropriate methods. For example
currentLayerChanged
should be emitted when callingsetActiveLayer
.Current behaviour Only some of the functionality is implemented and calling unimplemented methods raises errors.
Describe alternatives you've considered Wrap the whole class inside MagicMock.