@bebef1987 are you talking about using this, http://docs.python.org/dev/library/unittest.mock ??