Reviewed: https://review.openstack.org/447505 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=1f0638f943a7b490db3cf9a60423ebae859682cc Submitter: Zuul Branch: master
commit 1f0638f943a7b490db3cf9a60423ebae859682cc Author: Claudiu Belu <email address hidden> Date: Mon Mar 20 15:34:37 2017 +0200
tests: fixes mock autospec usage
Until now, mock.Mock did not receive any autospec argument, yet there are a few tests which are using it.
The autospec argument is being added by a fixture, and some unit tests are not using it properly.
Depends-On: I0e4a55fbf4c1d175726ca22b664e240849a99856
Partial-Bug: #1735588
Change-Id: I3636833962c905faa0f144c7fdc4833037324d31
Reviewed: https:/ /review. openstack. org/447505 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=1f0638f943a 7b490db3cf9a604 23ebae859682cc
Committed: https:/
Submitter: Zuul
Branch: master
commit 1f0638f943a7b49 0db3cf9a60423eb ae859682cc
Author: Claudiu Belu <email address hidden>
Date: Mon Mar 20 15:34:37 2017 +0200
tests: fixes mock autospec usage
Until now, mock.Mock did not receive any autospec argument, yet
there are a few tests which are using it.
The autospec argument is being added by a fixture, and some unit
tests are not using it properly.
Depends-On: I0e4a55fbf4c1d1 75726ca22b664e2 40849a99856
Partial-Bug: #1735588
Change-Id: I3636833962c905 faa0f144c7fdc48 33037324d31