Skip to content

Commit df3e39c

Browse files
Add GetStatusNetworkList to unit test
1 parent dc584e0 commit df3e39c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cni_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ func TestLibCNIType120(t *testing.T) {
342342
Args: [][2]string(nil),
343343
CapabilityArgs: map[string]interface{}{},
344344
}
345+
mockCNI.On("GetStatusNetworkList", l.networks[1].config).Return(nil)
345346
mockCNI.On("AddNetworkList", l.networks[1].config, expectedRT).Return(&types100.Result{
346347
CNIVersion: "1.1.0",
347348
Interfaces: []*types100.Interface{

0 commit comments

Comments
 (0)