Message340164
Kooning great! I would Add a test for the following (I think both fails with the proposed impl):
- The mock is called BEFORE calling wait_until_called_with
- I call the mock with arguments and then I call wait for call without arguments.
- using keyword arguments
Also, I don’t have a great solution for it but it might be worth prefixing time-out with something in the wait_untill_called_with. In situations where the mocked object has a timeout parameter (which is a common argument for multithreaded apps). |
|
Date |
User |
Action |
Args |
2019-04-13 15:30:52 | mariocj89 | set | recipients:
+ mariocj89, jcea, pitrou, rbcollins, cjw296, ezio.melotti, michael.foord, xtreak |
2019-04-13 15:30:52 | mariocj89 | set | messageid: <1555169452.14.0.0778190639807.issue17013@roundup.psfhosted.org> |
2019-04-13 15:30:52 | mariocj89 | link | issue17013 messages |
2019-04-13 15:30:51 | mariocj89 | create | |
|