Skip to content

Commit

Permalink
Fix UT
Browse files Browse the repository at this point in the history
Signed-off-by: maipbui <maibui@microsoft.com>
  • Loading branch information
maipbui committed Nov 7, 2022
1 parent 16c12cb commit 3ba0aae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/caclmgrd/caclmgrd_feature_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ def test_feature_present(self, test_name, test_data, fs):
call_rc = test_data["call_rc"]
mocked_subprocess.call.return_value = call_rc

self.caclmgrd.ControlPlaneAclManager.get_namespace_mgmt_ip = mock.MagicMock()
self.caclmgrd.ControlPlaneAclManager.get_namespace_mgmt_ipv6 = mock.MagicMock()
caclmgrd_daemon = self.caclmgrd.ControlPlaneAclManager("caclmgrd")
caclmgrd_daemon.update_feature_present()
self.assertTrue("bgp" in caclmgrd_daemon.feature_present)
Expand Down

0 comments on commit 3ba0aae

Please sign in to comment.