public void showVolumeType() { netClient.Core.APIClient.Instance.InitWebClient(); netClient.Core.APIClient.Instance.Authenticate(servicesOAuthToken); VolumeType vt = VolumeType.show(cloudStackID, cloudStackVTID); Assert.IsNotNull(vt); netClient.Core.APIClient.Instance.InitWebClient(); //reclean auth on the instance }
public void VolumeTypeShowCloudStack() { netClient.Core.APIClient.Instance.InitWebClient(); netClient.Core.APIClient.Instance.Authenticate(servicesOAuthToken); VolumeType vt = VolumeType.show(cloudStackID, cloudStackVTID); Assert.IsNotNull(vt); Cloud cl = vt.cloud; Assert.IsNotNull(cl); Assert.IsTrue(cl.name.Length > 0); netClient.Core.APIClient.Instance.InitWebClient(); //reclean auth on the instance }