]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes the EQL driver CI tests AttributeError
authorrajinir <rajini_ram@dell.com>
Tue, 3 Feb 2015 21:38:13 +0000 (15:38 -0600)
committerrajinir <rajini_ram@dell.com>
Tue, 3 Feb 2015 22:51:36 +0000 (16:51 -0600)
commitf5f2ccea52e4d96edb5e9d45fa2398215b5cc732
tree73f887647a1dfec8ce7fa71060f9b2d1a3f7a8f6
parentaa1d3754b1714b24b4b04a5ef9bd6cf587230e9c
Fixes the EQL driver CI tests AttributeError

Moved the ssh object back to a 'with' Block to
fix the AttributeError thrown by the GeneralContextManager
in the Eqlx CI tests

Fixed the unit tests to mock the enter and exit methods
instead

Change-Id: I629d20e815fb7da3df90dfeee76abc1c60daeefe
Closes-Bug: #1417772
cinder/tests/test_eqlx.py
cinder/volume/drivers/eqlx.py