MCPcopy Create free account
hub / github.com/convox/rack / testClient

Function testClient

pkg/cli/cli_test.go:31–33  ·  view source on GitHub ↗
(t *testing.T, fn func(*cli.Engine, *mocksdk.Interface))

Source from the content-addressed store, hash-verified

29)
30
31func testClient(t *testing.T, fn func(*cli.Engine, *mocksdk.Interface)) {
32 testClientWait(t, 1, fn)
33}
34
35func testClientWait(t *testing.T, wait time.Duration, fn func(*cli.Engine, *mocksdk.Interface)) {
36 os.Unsetenv("CONVOX_HOST")

Callers 15

TestCpUploadFunction · 0.85
TestCpUploadErrorFunction · 0.85
TestCpDownloadFunction · 0.85
TestCpDownloadErrorFunction · 0.85
TestLoginFunction · 0.85
TestLoginErrorFunction · 0.85
TestExecFunction · 0.85
TestExecErrorFunction · 0.85
TestVersionFunction · 0.85
TestVersionErrorFunction · 0.85
TestVersionNoSystemFunction · 0.85

Calls 1

testClientWaitFunction · 0.85

Tested by

no test coverage detected