github.com/vmware/go-vcloud-director/v2@v2.24.0/govcd/query_test.go (about) 1 //go:build query || functional || ALL 2 3 /* 4 * Copyright 2018 VMware, Inc. All rights reserved. Licensed under the Apache v2 License. 5 * Copyright 2016 Skyscape Cloud Services. All rights reserved. Licensed under the Apache v2 License. 6 */ 7 8 package govcd 9 10 import ( 11 . "gopkg.in/check.v1" 12 ) 13 14 // TODO: Need to add a check to check the contents of the query 15 func (vcd *TestVCD) Test_Query(check *C) { 16 // Get the Org populated 17 _, err := vcd.client.Query(map[string]string{"type": "vm"}) 18 check.Assert(err, IsNil) 19 }