def test_02_mcuWebServicesClient(self):
     '''CredsService: MCU Get Web Services Client object NON-Secure'''          
     mcuWsdlCred.ClientSupervisor, retCode = self.computer.getWebServicesClient(self.URL)
     self.assertStopTestsIfFalse(retCode)
     mcuWsdlCred.ClientAD, retCode = self.computer.getWebServicesClient(self.URL, True)      
     self.assertIsNotNone(mcuWsdlCred.ClientAD, 'Did not find the ClientAD')
     self.assertStopTestsIfFalse(retCode)        
     mcuWsdlCred.CredsService = mcu_wsdl_methods.mcuCredsSrvc()
     mcuWsdlCred.CompsService = mcu_wsdl_methods.mcuCompsSrvc()
     mcuWsdlCred.Creds = self.computer.SetupCreds(self.ClientSupervisor.CredentialsService)
 def test_07_mcuWebServicesClient(self):
     '''WebServices: MCU Get Web Services Client object NON-Secure'''          
     mcuWebServices.ClientNS, retCode = self.computer.getWebServicesClient(self.unsecure_url)
     self.assertStopTestsIfFalse(retCode)
     
     # Instantiate instances of the services for the NOOP testing later
     mcuWebServices.CompsService = mcu_wsdl_methods.mcuCompsSrvc()
     mcuWebServices.CredsService = mcu_wsdl_methods.mcuCredsSrvc()
     mcuWebServices.GroupsService = mcu_wsdl_methods.mcuGroupsSrvc()
     mcuWebServices.UsersService = mcu_wsdl_methods.mcuUsersSrvc()
 def test_02_mcuWebServicesClient(self):
     '''CompsService: MCU Get Web Services Client object NON-Secure'''          
     mcuWsdlComp.ClientSupervisor, retCode = self.computer.getWebServicesClient(self.URL)
     self.assertStopTestsIfFalse(retCode)
     mcuWsdlComp.ClientAD, retCode = self.computer.getWebServicesClient(self.URL, True)        
     self.assertStopTestsIfFalse(retCode)        
     # set up the method wrappers
     mcuWsdlComp.CompsService = mcu_wsdl_methods.mcuCompsSrvc()        
     mcuWsdlComp.CredsService = mcu_wsdl_methods.mcuCredsSrvc()        
     # get the credentials dictionary
     mcuWsdlComp.Creds = self.computer.SetupCreds(self.ClientSupervisor.CredentialsService)
     # setup a user and a group object
     mcuWsdlComp.mcuUser, mcuWsdlComp.mcuGroup = self.computer.createUserGroup(self.ClientSupervisor.ComputersService)
     # Clean up the host - NO QAS, NOT JOINED
     self.assertStopTestsIfFalse(self.computer.doQasMcuHost(self.managedClient, self.qasVersion, 'Clean'))