tests

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2018 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package tests contains test helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertGRPCError

func AssertGRPCError(t testing.TB, expected *status.Status, actual error)

func AssertGRPCErrorRE added in v1.5.1

func AssertGRPCErrorRE(t testing.TB, expectedCode codes.Code, expectedMessageRE string, actual error)

func GetAWSKeys

func GetAWSKeys(t testing.TB) (accessKey, secretKey string)

GetAWSKeys returns testing AWS keys.

func OpenTestDB

func OpenTestDB(t testing.TB) *sql.DB

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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