]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat tests : functional tests add exec_sudo_command
authorSteven Hardy <shardy@redhat.com>
Thu, 20 Sep 2012 13:37:41 +0000 (14:37 +0100)
committerSteven Hardy <shardy@redhat.com>
Thu, 20 Sep 2012 16:56:41 +0000 (17:56 +0100)
commit0991ed88f25771d5adde2119c5b967cd4b397816
treebf545b1cc376edbb3bff0f2620146de6bd825079
parent2652832ef3594329fd0afb66ec1c5d8836987c18
heat tests : functional tests add exec_sudo_command

Add new method in the Instance class, which uses paramiko
invoke_shell instead of exec_command, so sudo commands can
run despite requiretty being set in our sudo config

Ref #246

Change-Id: I3be691167d4c757b68e589261d6f3a1263d77e69
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/tests/functional/util.py