aboutsummaryrefslogtreecommitdiffstats
path: root/src/k8splugin/api/handler_test.go
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-09-17 15:29:27 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-17 15:29:27 +0000
commitacfc52396351261756b6d319d7578f2277f2d272 (patch)
tree702a86d008f02d018497e7ac74ad9ae1b72c47f0 /src/k8splugin/api/handler_test.go
parent4416616ae34f7b0410b67d69a6d44011f2946484 (diff)
parentb338d303aa7078a84d50989ddc845a6ce938accf (diff)
Merge "Separate tests"
Diffstat (limited to 'src/k8splugin/api/handler_test.go')
-rw-r--r--src/k8splugin/api/handler_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/k8splugin/api/handler_test.go b/src/k8splugin/api/handler_test.go
index df573d94..8d990daa 100644
--- a/src/k8splugin/api/handler_test.go
+++ b/src/k8splugin/api/handler_test.go
@@ -1,3 +1,5 @@
+// +build unit
+
/*
Copyright 2018 Intel Corporation.
Licensed under the Apache License, Version 2.0 (the "License");
@@ -16,12 +18,13 @@ package api
import (
"bytes"
"encoding/json"
- "k8s.io/client-go/kubernetes"
"net/http"
"net/http/httptest"
"reflect"
"testing"
+ "k8s.io/client-go/kubernetes"
+
"k8splugin/csar"
"k8splugin/db"
)