aboutsummaryrefslogtreecommitdiffstats
path: root/test/config_test.go
diff options
context:
space:
mode:
authorClément Bénier <clement.benier@iot.bzh>2018-08-20 17:39:39 +0200
committerClément Bénier <clement.benier@iot.bzh>2018-08-21 11:08:36 +0200
commit72bb1c521aff5bb166db287ef426b243166d8927 (patch)
tree81c6af864f56afd365caf0930ca13e36478b1fb8 /test/config_test.go
parent83fad88204387d196f755c718de40828c08dc7ac (diff)
tests: add comments and logs
Change-Id: I31ef0fa20a74f76b696ac9cb768fac18e2197ea5 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
Diffstat (limited to 'test/config_test.go')
-rw-r--r--test/config_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/config_test.go b/test/config_test.go
index ad6ea1b..da56188 100644
--- a/test/config_test.go
+++ b/test/config_test.go
@@ -42,6 +42,7 @@ func CheckIP(ipconfig string) bool {
func TestConfig(t *testing.T) {
var cfg xsapiv1.APIConfig
assert.Nil(t, HTTPCli.Get("/config", &cfg))
+ t.Logf("Config is %v", cfg)
re := regexp.MustCompile("^[0-9a-z]+-[0-9a-z]+-[0-9a-z]+-[0-9a-z]+-[0-9a-z]+$")
assert.True(t, re.MatchString(cfg.ServerUID)) //ID