github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/environs/context/package_test.go (about) 1 // Copyright 2020 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package context 5 6 import ( 7 "testing" 8 9 gc "gopkg.in/check.v1" 10 ) 11 12 //go:generate go run go.uber.org/mock/mockgen -package context -destination context_mock_test.go github.com/juju/juju/environs/context ModelCredentialInvalidator 13 //go:generate go run go.uber.org/mock/mockgen -package mocks -destination mocks/context_mock.go github.com/juju/juju/environs/context ProviderCallContext 14 func TestPackage(t *testing.T) { 15 gc.TestingT(t) 16 }