mock1.side_effect = ctpMocks
u = UUT()
self.assertEqual(u.test_property, ('funky', 'monkey'))
if __name__ == '__main__':
    unittest.main()
How do you mock patch a python class and get a new Mock object for each instantiation?