MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / TestConnectOptions_Defaults

Function TestConnectOptions_Defaults

cmd/connect_test.go:646–655  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

644}
645
646func TestConnectOptions_Defaults(t *testing.T) {
647 opts := defaultConnectOptions("test-token", "https://api.thundercompute.com:8443")
648
649 assert.NotNil(t, opts.client)
650 assert.False(t, opts.skipTTYCheck)
651 assert.False(t, opts.skipTUI)
652 assert.NotNil(t, opts.sshConnector)
653 assert.NotNil(t, opts.sessionRunner)
654 assert.NotNil(t, opts.configLoader)
655}
656
657func TestConcurrentMockAPIClient(t *testing.T) {
658 // Test that mock API client is thread-safe

Callers

nothing calls this directly

Calls 1

defaultConnectOptionsFunction · 0.85

Tested by

no test coverage detected