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)