(test) Avoid crashes of tests at process exit
Some combination of tests (when not executed with other tests using Taurus >= 4.7.1) crash at exit due to PyTango#390.
Register (at class level) atexit hook to call tango.ApiUtil.cleanup()
in:
-
MacroExecutor
(tango implementation) - used when testing macro execution - MeasurementGroup (tango) tests
Multiple executions of ApiUtil.cleanup()
does not harm.