[issue38505] Mock.call_args and Mock.call_args_list not propagated to parent Mock

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue38505] Mock.call_args and Mock.call_args_list not propagated to parent Mock

2019-10-17 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue38505] Mock.call_args and Mock.call_args_list not propagated to parent Mock

2019-10-17 Thread Caris Moses
Change by Caris Moses : -- title: Mock.call_args and Mock.call_args_list -> Mock.call_args and Mock.call_args_list not propagated to parent Mock ___ Python tracker ___ ___

[issue38505] Mock.call_args and Mock.call_args_list

2019-10-17 Thread Caris Moses
New submission from Caris Moses : When I use some_mock.attach_mock(...) and make calls, the resulting some_mock.call_args is None while the some_mock.mock_calls list is not empty. The code below shows this in Python 3.7.5: from unittest import TestCase from unittest.mock import patch, Mock d