Revision df99f3a9 test/ganeti.bdev_unittest.py

b/test/ganeti.bdev_unittest.py
1 1
#!/usr/bin/python
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007, 2010 Google Inc.
4
# Copyright (C) 2006, 2007, 2010, 2012 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
29 29
from ganeti import errors
30 30
from ganeti import constants
31 31
from ganeti import utils
32
from ganeti import pathutils
32 33

  
33 34
import testutils
34 35

  
......
391 392
    self.assertEqual(vfsp(["/usr/sbin/vim", "/srv/file-storage"]),
392 393
                     ["/usr/sbin/vim"])
393 394

  
395
    self.assertTrue(vfsp([pathutils.REMOTE_COMMANDS_DIR]),
396
                    msg=("Remote commands directory should never be valid"
397
                         "for file storage"))
398

  
394 399

  
395 400
class TestComputeWrongFileStoragePaths(testutils.GanetiTestCase):
396 401
  def test(self):

Also available in: Unified diff