Merge "Skip brick_initiator test in virtual environments"

This commit is contained in:
Jenkins 2013-07-03 06:46:46 +00:00 committed by Gerrit Code Review
commit 3b0921fbdc

View File

@ -248,6 +248,8 @@ class ISCSIConnectorTestCase(ConnectorTestCase):
}
}
@test.testtools.skipUnless(os.path.exists('/dev/disk/by-path'),
'Test requires /dev/disk/by-path')
def test_connect_volume(self):
self.stubs.Set(os.path, 'exists', lambda x: True)
location = '10.0.2.15:3260'