summaryrefslogtreecommitdiffstats
path: root/src/clm/api/clusterhandler_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/clm/api/clusterhandler_test.go')
-rw-r--r--src/clm/api/clusterhandler_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/clm/api/clusterhandler_test.go b/src/clm/api/clusterhandler_test.go
index 076718df..a866835b 100644
--- a/src/clm/api/clusterhandler_test.go
+++ b/src/clm/api/clusterhandler_test.go
@@ -186,6 +186,12 @@ func (m *mockClusterManager) DeleteClusterKvPairs(provider, clusterName, kvpair
return m.Err
}
+func init() {
+ cpJSONFile = "../json-schemas/metadata.json"
+ ckvJSONFile = "../json-schemas/cluster-kv.json"
+ clJSONFile = "../json-schemas/cluster-label.json"
+}
+
func TestClusterProviderCreateHandler(t *testing.T) {
testCases := []struct {
label string