Skip to content

Commit

Permalink
add Tests
Browse files Browse the repository at this point in the history
Signed-off-by: vaibhav-dahiya <[email protected]>
  • Loading branch information
vdahiya12 committed Dec 8, 2023
1 parent 67034f2 commit c423025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/caclmgrd/caclmgrd_soc_rules_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def setUp(self):

@parameterized.expand(CACLMGRD_SOC_TEST_VECTOR)
@patchfs
@patch('caclmgrd.get_ipv4_networks_from_interface_table', MagicMock(return_value={IPv4Network('10.10.10.18/24', strict=False): IPv4Address('10.10.10.18') , IPv4Network('10.10.11.18/24', strict=False) : IPv4Address('10.10.11.18') }))
#@patch('caclmgrd.get_ipv4_networks_from_interface_table', MagicMock(return_value={IPv4Network('10.10.10.18/24', strict=False): IPv4Address('10.10.10.18') , IPv4Network('10.10.11.18/24', strict=False) : IPv4Address('10.10.11.18') }))
def test_caclmgrd_soc(self, test_name, test_data, fs):
if not os.path.exists(DBCONFIG_PATH):
fs.create_file(DBCONFIG_PATH) # fake database_config.json
Expand Down

0 comments on commit c423025

Please sign in to comment.