]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add assertion to test_page_reverse method
authorWlodzimierz Borkowski <wlodek.borkowski@gmail.com>
Sat, 25 Oct 2014 12:59:24 +0000 (14:59 +0200)
committerWlodzimierz Borkowski <wlodek.borkowski@gmail.com>
Tue, 28 Oct 2014 10:52:58 +0000 (11:52 +0100)
commitc615b7602ce50c21a8347e0c501170ee1f97d11c
treef693ca25be94ea8aa39b8004f1d8617bb9701e3c
parent6e2ef7057bda332489b78cbde3fc4e50ad849e35
Add assertion to test_page_reverse method

In neutron/tests/unit/test_api_v2.APIv2TestCase.test_page_reverse
there is no second call to test_case with 'page_reverse': 'False,
because of use assert_called_once_with.
In proposed change before second testcase, reset_mock is called.
Remove also second 'instance' initialization.

Closes-Bug: #1373126
Change-Id: I552b7b47456a1cdfccdeb8d7853ec3395317097a
neutron/tests/unit/test_api_v2.py