def test_images_fail(self): nt = ClientTestImagesFail(args.username, args.password, args.tenant, args.auth_url, service_type="compute") check_novaapi(nt)
def test_security_groups_fail(self): nt = ClientTestSecurity_groupsFail(args.username, args.password, args.tenant, args.auth_url, service_type="compute") check_novaapi(nt)
def test_success(self): nt = ClientTestSuccess(args.username, args.password, args.tenant, args.auth_url, service_type="compute") check_novaapi(nt)
def test_flavors_images_fail(self): nt = ClientTestFlavors_ImagesFail(args.username, args.password, args.tenant, args.auth_url, service_type="compute") try: check_novaapi(nt) except SystemExit: self.assertTrue("two warning raised SystemExit")