]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Unit test fails in pbuilder environment
authorMichael Kerrin <michael.kerrin@hp.com>
Thu, 24 Oct 2013 15:17:47 +0000 (15:17 +0000)
committerMichael Kerrin <michael.kerrin@hp.com>
Thu, 24 Oct 2013 15:17:47 +0000 (15:17 +0000)
commitea51db596906c663e0c04b546b3ca79873dd74f0
tree95456860448d4001a4738caea53ffd342cc0e7e7
parent91d388b384bff212e850a7396e8f4f7430c0cd6d
Unit test fails in pbuilder environment

When running tests inside a pbuilder environment we don't
have /dev/disk/by-path directory and so the test_host_driver
test fails. Fix test by overriding the isdir method to
return True and pretend that the directory is there.

Change-Id: Ifd39d796b7f250b1ec45227a4262ebb33d5656bf
cinder/tests/brick/test_brick_connector.py