testing

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

trusts unit tests

Index

Constants

View Source
const CreateRequest = `` /* 420-byte string literal not displayed */
View Source
const CreateResponse = `` /* 712-byte string literal not displayed */

Variables

This section is empty.

Functions

func HandleCreateTokenWithTrustID

func HandleCreateTokenWithTrustID(t *testing.T, options tokens.AuthOptionsBuilder, requestJSON string)

HandleCreateTokenWithTrustID verifies that providing certain AuthOptions and Scope results in an expected JSON structure.

func HandleCreateTrust added in v0.3.0

func HandleCreateTrust(t *testing.T)

HandleCreateTrust creates an HTTP handler at `/OS-TRUST/trusts` on the test handler mux that tests trust creation.

func HandleDeleteTrust added in v0.3.0

func HandleDeleteTrust(t *testing.T)

HandleDeleteUserSuccessfully creates an HTTP handler at `/users` on the test handler mux that tests user deletion.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL