]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix dhcp config dir removed too soon
authorDarragh O'Reilly <darragh.oreilly@hp.com>
Sun, 8 Mar 2015 11:10:34 +0000 (11:10 +0000)
committerDarragh O'Reilly <darragh.oreilly@hp.com>
Mon, 9 Mar 2015 17:01:03 +0000 (17:01 +0000)
commitc2a768bab719922ad770a29f607ed7fa3a3cf824
tree3cb5ba77e6964523b3f6ef7b26794eabe8d1b8a9
parentb8ef0281824ab35c99d42304a989189de2fa29b5
Fix dhcp config dir removed too soon

The config dir is now removed after unplugging.
This patch also mocks out shutil.rmtree in all dhcp tests.

Change-Id: I68faacbb820957fa0bece7003676bd981c56de58
Closes-Bug: 1429559
neutron/agent/linux/dhcp.py
neutron/tests/unit/test_linux_dhcp.py