commit da033f19bcbd59545192a0a2a39a95662bab216a
Author: Michael Kerrin <email address hidden>
Date: Thu Oct 24 15:17:47 2013 +0000
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.
Closes-bug: #1244418
Change-Id: Ifd39d796b7f250b1ec45227a4262ebb33d5656bf
(cherry picked from commit ea51db596906c663e0c04b546b3ca79873dd74f0)
Reviewed: https:/ /review. openstack. org/53743 github. com/openstack/ cinder/ commit/ da033f19bcbd595 45192a0a2a39a95 662bab216a
Committed: http://
Submitter: Jenkins
Branch: stable/havana
commit da033f19bcbd595 45192a0a2a39a95 662bab216a
Author: Michael Kerrin <email address hidden>
Date: Thu Oct 24 15:17:47 2013 +0000
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.
Closes-bug: #1244418
Change-Id: Ifd39d796b7f250 b1ec45227a4262e bb33d5656bf 3e0c04b546b3ca7 9873dd74f0)
(cherry picked from commit ea51db596906c66