Commit 3e0b97b5 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Don't check for remote command directory as file storage



This test does not work properly if localstatedir is not “/etc”.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent fe8f80bd
......@@ -392,10 +392,6 @@ class TestComputeWrongFileStoragePathsInternal(unittest.TestCase):
self.assertEqual(vfsp(["/usr/sbin/vim", "/srv/file-storage"]),
["/usr/sbin/vim"])
self.assertTrue(vfsp([pathutils.REMOTE_COMMANDS_DIR]),
msg=("Remote commands directory should never be valid"
"for file storage"))
class TestComputeWrongFileStoragePaths(testutils.GanetiTestCase):
def test(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment