gophercloud: github.com/gophercloud/gophercloud/openstack/objectstorage/v1/swauth/testing Index | Files

package testing

import "github.com/gophercloud/gophercloud/openstack/objectstorage/v1/swauth/testing"

swauth unit tests

Index

Package Files

doc.go fixtures.go

Variables

var AuthResult = swauth.AuthResult{
    Token:      "AUTH_tk6223e6071f8f4299aa334b48015484a1",
    StorageURL: "http://127.0.0.1:8080/v1/AUTH_test/",
}

AuthResult is the expected result of AuthOutput

func HandleAuthSuccessfully Uses

func HandleAuthSuccessfully(t *testing.T, authOpts swauth.AuthOpts)

HandleAuthSuccessfully configures the test server to respond to an Auth request.

Package testing imports 5 packages (graph). Updated 2018-05-08. Refresh now. Tools for package owners.