Add test for backend._GetBlockDevSymlinkPath
authorMichael Hanselmann <hansmi@google.com>
Tue, 22 Jan 2013 12:50:57 +0000 (13:50 +0100)
committerMichael Hanselmann <hansmi@google.com>
Tue, 22 Jan 2013 14:05:37 +0000 (15:05 +0100)
commit3b7218422467e12322b6b628f3bd71d69eb9337a
tree035cc233ea99c7a9838b9ac8e45949d605f4b886
parent0d07a850ad648bf8f90ac5fca0e2ed553833c686
Add test for backend._GetBlockDevSymlinkPath

Add a unit test for the trivial “_GetBlockDevSymlinkPath” function in
backend (small changes in the function were required).

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Bernardo Dal Seno <bdalseno@google.com>
lib/backend.py
test/py/ganeti.backend_unittest.py