Add infrastructure to trace and test Python
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
It's becoming increasing important to ensure that Python tracing from the GUI works. We need to add an infrastructure to easily add tests for the same. The typical playback would include recording actions from the GUI to trace and then playing that trace back in the GUI as well pvpython and/or pvbatch.