cfg auto update: match ipolicy with enabled disk templates
[ganeti-local] / test / py / ganeti.vcluster_unittest.py
index e47b1f8..0f216da 100755 (executable)
@@ -108,10 +108,10 @@ class TestPreparePaths(_EnvVarTest):
 
 class TestMakeNodeRoot(unittest.TestCase):
   def test(self):
 
 class TestMakeNodeRoot(unittest.TestCase):
   def test(self):
-    self.assertRaises(RuntimeError, vcluster._MakeNodeRoot, "/tmp", "/")
+    self.assertRaises(RuntimeError, vcluster.MakeNodeRoot, "/tmp", "/")
 
     for i in ["/tmp", "/tmp/", "/tmp///"]:
 
     for i in ["/tmp", "/tmp/", "/tmp///"]:
-      self.assertEqual(vcluster._MakeNodeRoot(i, "other.example.com"),
+      self.assertEqual(vcluster.MakeNodeRoot(i, "other.example.com"),
                        "/tmp/other.example.com")
 
 
                        "/tmp/other.example.com")