示例#1
0
    def testGetOutFolderPathFromConf(self):
        from test_model import createPodObj
        pod = createPodObj('testPod')
        path = getOutFolderPath({'outputDir': '/var/lib/openclos'}, pod)

        self.assertEquals('/var/lib/openclos/' + pod.id + '-' + pod.name, path)
示例#2
0
 def testGetOutFolderPathFromConf(self):
     from test_model import createPodObj
     pod = createPodObj('testPod')
     path = getOutFolderPath({'outputDir': '/var/lib/openclos'}, pod)
     
     self.assertEquals('/var/lib/openclos/'+pod.id+'-'+pod.name, path)
示例#3
0
    def testGetOutFolderPath(self):
        from test_model import createPodObj
        pod = createPodObj('testPod')
        path = getOutFolderPath({}, pod)

        self.assertEquals('out/' + pod.id + '-' + pod.name, path)
示例#4
0
 def testGetOutFolderPath(self):
     from test_model import createPodObj
     pod = createPodObj('testPod')
     path = getOutFolderPath({}, pod)
     
     self.assertEquals('out/'+pod.id+'-'+pod.name, path)