From a11ad9b4756cc457e03b132628bd2d79c653db42 Mon Sep 17 00:00:00 2001 From: ghooo Date: Mon, 16 Aug 2021 09:25:04 -0700 Subject: [PATCH] dummy change to check the build --- .../generic_config_updater/gu_common_test.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tests/generic_config_updater/gu_common_test.py b/tests/generic_config_updater/gu_common_test.py index f69ec08030..82f86f5f3b 100644 --- a/tests/generic_config_updater/gu_common_test.py +++ b/tests/generic_config_updater/gu_common_test.py @@ -501,6 +501,26 @@ def test_find_ref_paths__path_is_table__returns_ref_paths(self): # Assert self.assertCountEqual(expected, actual) + def test_find_ref_paths__path_is_table__returns_ref_paths_copy_dummy(self): + # Arrange + path = "/PORT" + expected = [ + "/ACL_TABLE/DATAACL/ports/0", + "/ACL_TABLE/EVERFLOW/ports/0", + "/ACL_TABLE/EVERFLOWV6/ports/0", + "/ACL_TABLE/EVERFLOWV6/ports/1", + "/ACL_TABLE/NO-NSW-PACL-V4/ports/0", + "/VLAN_MEMBER/Vlan1000|Ethernet0", + "/VLAN_MEMBER/Vlan1000|Ethernet4", + "/VLAN_MEMBER/Vlan1000|Ethernet8", + ] + + # Act + actual = self.path_addressing.find_ref_paths(path, Files.CROPPED_CONFIG_DB_AS_JSON) + + # Assert + self.assertCountEqual(expected, actual) + def test_find_ref_paths__whole_config_path__returns_all_refs(self): # Arrange path = ""