... by replacing it by the built-in unittest.mock . Change-Id: Ie853237d5c59730353d5ea4a7e61888e066614be