testing

package
v0.0.0-...-cd80d89 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

servers unit tests

Index

Constants

View Source
const ConsoleOutputBody = `{
	"output": "abc"
}`
View Source
const FaultyServerBody = `` /* 2179-byte string literal not displayed */

FaultyServerBody is the body of a Get request on an existing server which has a fault/error.

View Source
const ServerListBody = `` /* 5707-byte string literal not displayed */

ServerListBody contains the canned body of a servers.List response.

View Source
const ServerPasswordBody = `` /* 368-byte string literal not displayed */
View Source
const ServerWithTagsCreateRequest = `` /* 147-byte string literal not displayed */
View Source
const SingleServerBody = `` /* 1916-byte string literal not displayed */

SingleServerBody is the canned body of a Get request on an existing server.

View Source
const SingleServerWithTagsBody = `` /* 1942-byte string literal not displayed */

SingleServerWithTagsBody is the canned body of a Get request on an existing server with tags.

Variables

View Source
var (

	// ServerHerp is a Server struct that should correspond to the first result in ServerListBody.
	ServerHerp = servers.Server{
		Status:  "ACTIVE",
		Updated: herpTimeUpdated,
		HostID:  "29d3c8c896a45aa4c34e52247875d7fefc3d94bbcc9f622b5d204362",
		Addresses: map[