]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Config lockutils to use a temp path for tests.
authorMaru Newby <mnewby@internap.com>
Thu, 17 Jan 2013 18:42:37 +0000 (18:42 +0000)
committerMaru Newby <mnewby@internap.com>
Thu, 17 Jan 2013 18:42:37 +0000 (18:42 +0000)
commite38e0580ed91cbb41683ca5386bc65ccbc1999c2
treefbb65ab3923835b3f24d81226b2c13db8155ba24
parentd8b0f10ec7a5e0726d1b09e84e6cc388d957ba03
Config lockutils to use a temp path for tests.

 * Tests for iptables_manager were leaving lockfiles in the source
   tree due to the default lock path being in the openstack common
   tree.  This patch sets the lock_path option to an empty string
   for unit tests to ensure that a temporary location is used
   instead.

Change-Id: I5d36dca8cfeba991dfe0803e536d3d74dd2ffe7f
quantum/tests/unit/__init__.py