]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make test_nvp_sync.SyncLoopingCallTestCase reliable
authorSalvatore Orlando <salv.orlando@gmail.com>
Sat, 19 Oct 2013 09:06:37 +0000 (02:06 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Sat, 19 Oct 2013 10:01:26 +0000 (03:01 -0700)
commit4e311e66deb93b459527bd5e9f203720a8e28463
treee83b7772de49801159693577b6cfaec10a3d4774
parent71b5ccf8b207a77780fffbde31525c253ae528a5
Make test_nvp_sync.SyncLoopingCallTestCase reliable

This patch removes the previous check that verified the mocked
looping call had an exact number of calls, and replaces it with a
simpler check that just verifies that the mock has been called.

As a consequence, this patch also shortens the test duration.

Closes-Bug: 1241969

Change-Id: Ia7bc66e1f2f631e46ddcbe0eacc1d5b2481274cb
neutron/tests/unit/nicira/test_nvp_sync.py