github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/oauth2/g7/g7_test.go (about)

     1  package g7
     2  
     3  import (
     4  	"reflect"
     5  	"testing"
     6  
     7  	"github.com/johnnyeven/libtools/conf"
     8  )
     9  
    10  func TestOAuth(t *testing.T) {
    11  	o := OAuth{}
    12  	o.Name = "test"
    13  	rv := reflect.ValueOf(o)
    14  	envVarsForDocker, _ := conf.CollectEnvVars(rv, "D")
    15  	envVarsForDocker.Print()
    16  }