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
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
HandleDeleteUserSuccessfully creates an HTTP handler at `/users` on the test handler mux that tests user deletion.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.