]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
test_fork_error: Fix incorrect test mock
authorAngus Lees <gus@inodes.org>
Fri, 15 May 2015 07:50:33 +0000 (17:50 +1000)
committerAngus Lees <gus@inodes.org>
Tue, 26 May 2015 00:11:52 +0000 (10:11 +1000)
commit54e91b01cf7b311f48a40c14c7f9c1d8c0926ab4
tree84632a0af6841c0c5d3018c28e820d83e332028e
parent0b738482b696293581c9b4eb1048338be9aee51f
test_fork_error: Fix incorrect test mock

The previous os.fork mock returned a *function* that returned an OSError
object.  Oops.

Change-Id: I6e5dff930cf5614f7061efdfd8429963703cc214
neutron/tests/unit/agent/linux/test_daemon.py