testing

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2020 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

subnets unit tests

Index

Constants

View Source
const CreateRequest = `` /* 169-byte string literal not displayed */
View Source
const CreateResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`
View Source
const DeleteResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`
View Source
const GetResponse = `` /* 463-byte string literal not displayed */
View Source
const ListResponse = `` /* 548-byte string literal not displayed */
View Source
const UpdateRequest = `
{
	"name": "subnet"
}	
`

Variables

View Source
var (
	Subnet1 = subnets.Subnet{
		ID:            "e7944e55-f957-413d-aa56-fdc876543113",
		Name:          "subnet",
		IPVersion:     4,
		EnableDHCP:    true,
		CIDR:          cidr,
		CreatedAt:     createdTime,
		UpdatedAt:     updatedTime,
		NetworkID:     "ee2402d0-f0cd-4503-9b75-69be1d11c5f1",
		TaskID:        &taskID,
		CreatorTaskID: &taskID,
		Region:        "RegionOne",
		ProjectID:     fake.ProjectID,
		RegionID:      fake.RegionID,
	}
	Tasks1 = tasks.TaskResults{
		Tasks: []tasks.TaskID{"50f53a35-42ed-40c4-82b2-5a37fb3e00bc"},
	}

	ExpectedSubnetSlice = []subnets.Subnet{Subnet1}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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