From 059f7712b2f86d729fca309ec1a80bf3f343daaa Mon Sep 17 00:00:00 2001
From: selldinesh <dinesh.sellappan@keysight.com>
Date: Fri, 15 Sep 2023 18:35:13 +0000
Subject: [PATCH] resolving object discovery, dash, bridge

Signed-off-by: selldinesh <dinesh.sellappan@keysight.com>
---
 tests/api/test_acl_counter.py    |  3 ---
 tests/api/test_bridge.py         | 26 --------------------------
 tests/api/test_dash_acl_group.py | 26 --------------------------
 3 files changed, 55 deletions(-)
 delete mode 100644 tests/api/test_bridge.py
 delete mode 100644 tests/api/test_dash_acl_group.py

diff --git a/tests/api/test_acl_counter.py b/tests/api/test_acl_counter.py
index 994c8f26..81e98a54 100644
--- a/tests/api/test_acl_counter.py
+++ b/tests/api/test_acl_counter.py
@@ -22,7 +22,6 @@ def test_acl_counter_create(self, npu):
                 'attributes': ['SAI_ACL_COUNTER_ATTR_TABLE_ID', '$acl_table_1'],
             },
         ]
-        npu.objects_discovery()
         results = [*npu.process_commands(commands)]
         print('======= SAI commands RETURN values create =======')
         pprint(results)
@@ -37,7 +36,6 @@ def test_sai_acl_counter_attr_label_set(self, npu):
                 'attributes': ['SAI_ACL_COUNTER_ATTR_LABEL', '""'],
             }
         ]
-        npu.objects_discovery()
         results = [*npu.process_commands(commands)]
         print('======= SAI commands RETURN values get =======')
         pprint(results)
@@ -48,7 +46,6 @@ def test_acl_counter_remove(self, npu):
             {'name': 'acl_counter_1', 'op': 'remove'},
             {'name': 'acl_table_1', 'op': 'remove'},
         ]
-        npu.objects_discovery()
         results = [*npu.process_commands(commands)]
         print('======= SAI commands RETURN values remove =======')
         pprint(results)
diff --git a/tests/api/test_bridge.py b/tests/api/test_bridge.py
deleted file mode 100644
index 2f6115b7..00000000
--- a/tests/api/test_bridge.py
+++ /dev/null
@@ -1,26 +0,0 @@
-from pprint import pprint
-
-
-class TestSaiBridge:
-    # object with no parents
-
-    def test_bridge_create(self, npu):
-        commands = [
-            {
-                'name': 'bridge_1',
-                'op': 'create',
-                'type': 'SAI_OBJECT_TYPE_BRIDGE',
-                'attributes': ['SAI_BRIDGE_ATTR_TYPE', 'SAI_BRIDGE_TYPE_1Q'],
-            }
-        ]
-
-        results = [*npu.process_commands(commands)]
-        print('======= SAI commands RETURN values create =======')
-        pprint(results)
-
-    def test_bridge_remove(self, npu):
-        commands = [{'name': 'bridge_1', 'op': 'remove'}]
-
-        results = [*npu.process_commands(commands)]
-        print('======= SAI commands RETURN values remove =======')
-        pprint(results)
diff --git a/tests/api/test_dash_acl_group.py b/tests/api/test_dash_acl_group.py
deleted file mode 100644
index 071c3c54..00000000
--- a/tests/api/test_dash_acl_group.py
+++ /dev/null
@@ -1,26 +0,0 @@
-from pprint import pprint
-
-
-class TestSaiDashAclGroup:
-    # object with no attributes
-
-    def test_dash_acl_group_create(self, npu):
-        commands = [
-            {
-                'name': 'dash_acl_group_1',
-                'op': 'create',
-                'type': 'SAI_OBJECT_TYPE_DASH_ACL_GROUP',
-                'attributes': [],
-            }
-        ]
-
-        results = [*npu.process_commands(commands)]
-        print('======= SAI commands RETURN values create =======')
-        pprint(results)
-
-    def test_dash_acl_group_remove(self, npu):
-        commands = [{'name': 'dash_acl_group_1', 'op': 'remove'}]
-
-        results = [*npu.process_commands(commands)]
-        print('======= SAI commands RETURN values remove =======')
-        pprint(results)