Skip to content

Commit

Permalink
Add GetStatusNetworkList to unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Archit Kulkarni <[email protected]>
  • Loading branch information
architkulkarni committed Sep 3, 2024
1 parent 23512a7 commit ae6bd6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cni_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ func TestLibCNIType120(t *testing.T) {
Args: [][2]string(nil),
CapabilityArgs: map[string]interface{}{},
}
mockCNI.On("GetStatusNetworkList", l.networks[1].config).Return(nil)
mockCNI.On("AddNetworkList", l.networks[1].config, expectedRT).Return(&types100.Result{
CNIVersion: "1.1.0",
Interfaces: []*types100.Interface{
Expand Down

0 comments on commit ae6bd6c

Please sign in to comment.