]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Improve test coverage for AsyncMock. (GH-17906)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 24 Jan 2020 13:27:04 +0000 (05:27 -0800)
committerGitHub <noreply@github.com>
Fri, 24 Jan 2020 13:27:04 +0000 (05:27 -0800)
commit0ea7309927d1b3efde9be986528b8855f0f4c955
tree8435f6758fed14b13978761c63fd73fc8b866ab8
parenta46728a570e30e88df253eab17ad6c4372a422da
Improve test coverage for AsyncMock. (GH-17906)

* Add test for nested async decorator patch.
* Add test for side_effect and wraps with a function.
* Add test for side_effect with an exception in the iterable.
(cherry picked from commit 54f743eb315f00b0ff45e115dde7a5d506034153)

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
Lib/unittest/test/testmock/testasync.py