Example #1
0
 def testVirtCluster(self):
   self.assertEqual(vcluster._PreparePaths("/tmp/host.example.com",
                                           "host.example.com"),
                    ("/tmp", "/tmp/host.example.com", "host.example.com"))
Example #2
0
 def testNoVirtCluster(self):
   for i in ["", None]:
     self.assertEqual(vcluster._PreparePaths(i, i), ("", "", None))