Deduplicate functional test code
Deduplicate functional test code

TrivialFix
Change-Id: I7a5b5368b1edd3eb1e9fe6531ebb55c0f5c61322

mikalstill/nova,klmitch/nova,mikalstill/nova,phenoxim/nova,openstack/nova,gooddata/openstack-nova,mahak/nova,mikalstill/nova,klmitch/nova,rahulunair/nova,klmitch/nova,phenoxim/nova,gooddata/openstack-nova,klmitch/nova,gooddata/openstack-nova,rahulunair/nova,gooddata/openstack-nova,mahak/nova,rahulunair/nova,mahak/nova,openstack/nova,openstack/nova