We need a dummy protocol class that outputs function calls in a format which can be checked for correctness. The test framework should provide dummy session and image objects which use this protocol class. We actually don't need to write any of this ourselves, because pytest has a nice mocking plugin.
We need a dummy protocol class that outputs function calls in a format which can be checked for correctness. The test framework should provide dummy session and image objects which use this protocol class.We actually don't need to write any of this ourselves, becausepytesthas a nice mocking plugin.