github.com/didip/deis@v1.4.1/deisctl/backend/fleet/fleet_test.go (about)

     1  package fleet
     2  
     3  import "testing"
     4  
     5  func TestNewClient(t *testing.T) {
     6  	// set required flags
     7  	Flags.Endpoint = "http://127.0.0.1:4001"
     8  
     9  	// instantiate client
    10  	_, err := NewClient()
    11  	if err != nil {
    12  		t.Fatal(err)
    13  	}
    14  }