Helpers and mocks useful for automated tests in Python
