MCPcopy
hub / github.com/apache/devlake / TestCreateConnection

Function TestCreateConnection

backend/test/e2e/remote/python_plugin_test.go:30–38  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

28)
29
30func TestCreateConnection(t *testing.T) {
31 client := CreateClient(t)
32
33 CreateTestConnection(client)
34
35 conns := client.ListConnections(PLUGIN_NAME)
36 require.Equal(t, 1, len(conns))
37 require.Equal(t, EMPTY_TOKEN, conns[0].Token)
38}
39
40func TestDeleteConnection(t *testing.T) {
41 client := CreateClient(t)

Callers

nothing calls this directly

Calls 3

CreateClientFunction · 0.85
CreateTestConnectionFunction · 0.85
ListConnectionsMethod · 0.45

Tested by

no test coverage detected