]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Drop sudo requirement from a unit test
authorRussell Bryant <rbryant@redhat.com>
Tue, 25 Nov 2014 18:06:46 +0000 (18:06 +0000)
committerRussell Bryant <rbryant@redhat.com>
Tue, 25 Nov 2014 18:06:46 +0000 (18:06 +0000)
commitc8298b6f98c19cfd24cbd4e95cc2f6c6e840d826
treed0b51e3393b0a11dc566bd2ea491025b7e41d559
parent575b3fe84ca1bb6ef87db379cae34040abfca89e
Drop sudo requirement from a unit test

I noticed while working on some other stuff that a unit test was
prompting me for my sudo password.  I narrowed it down to the
offending test case and fixed it by mocking out the execute util, as
is done in several other places in these tests.

Change-Id: I93c6cdb8a26d3be5df5386091dc70a240ab7c190
Closes-bug: #1396276
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py