testutil

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// test app id
	AppID int64 = 67080
	// test installation id
	AppInstallationID int64 = 9437013
)

Variables

This section is empty.

Functions

func AppAuth

func AppAuth(t *testing.T) requests.Option

AppAuth returns auth

func AppInstallationAuth

func AppInstallationAuth(authClient []requests.Option) requests.Option

AppInstallationAuth returns auth

func PATAuth

func PATAuth() requests.Option

PATAuth returns auth

func ProjectRoot

func ProjectRoot(t *testing.T) string

ProjectRoot returns the absolute path to the repo root for octo-go

func VCRClient

func VCRClient(t *testing.T, cas string, opts ...requests.Option) octo.Client

VCRClient returns a vcr client

Types

This section is empty.

Jump to

Keyboard shortcuts

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