teedytest

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TeedyUsername              = "admin"
	TeedyPassword              = "admin"
	SkippingIntegrationMessage = "skipping integration test"
)

Variables

This section is empty.

Functions

func GetFileContents

func GetFileContents(t *testing.T, file string) []byte

func LoadFile

func LoadFile(t *testing.T, path string) *os.File

func NewJsonResponder

func NewJsonResponder(s int, c string) httpmock.Responder

NewJsonResponder returns a JSON responder for httpmock.

func SetupClient

func SetupClient(t *testing.T) *teedy.Client

func WriteToFile

func WriteToFile(t *testing.T, path string, content string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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