def test_sucessComponentStringDoesNotExist( self ): """ tricky case one could expect that if entity string is wrong than some kind of error will be returned, but it is not the case """ result = getComponentSection('WorkloadManagement/SimpleLogConsumer',False, False,'NonRonsumersNon') correctResult = '/Systems/WorkloadManagement/' + self.wm + '/NonRonsumersNon/SimpleLogConsumer' self.assertEqual(result, correctResult)
def test_sucessComponentStringDoesNotExist(self): """ tricky case one could expect that if entity string is wrong than some kind of error will be returned, but it is not the case """ result = getComponentSection('WorkloadManagement/SimpleLogConsumer', False, False, 'NonRonsumersNon') correctResult = '/Systems/WorkloadManagement/' + self.wm + '/NonRonsumersNon/SimpleLogConsumer' self.assertEqual(result, correctResult)
def test_success(self): result = getComponentSection('WorkloadManagement/SandboxStoreHandler', False, False, 'Services') correctResult = '/Systems/WorkloadManagement/' + self.wm + '/Services/SandboxStoreHandler' self.assertEqual(result, correctResult)
def test_success( self ): result = getComponentSection('WorkloadManagement/SandboxStoreHandler',False, False,'Services') correctResult = '/Systems/WorkloadManagement/' + self.wm + '/Services/SandboxStoreHandler' self.assertEqual(result, correctResult)