From 17c7ea11ee532dc74373959b9165659d519d7dd8 Mon Sep 17 00:00:00 2001 From: sfarouq-ext <116093375+sfarouq-ext@users.noreply.github.com> Date: Wed, 11 Dec 2024 17:42:43 +0100 Subject: [PATCH] test --- src/snmp_standard/mode/listspanningtrees.pm | 2 +- src/snmp_standard/mode/spanningtree.pm | 2 +- tests/network/hp/procurve/snmp/list-spanning-trees.robot | 5 +---- tests/network/hp/procurve/snmp/spanning-tree.robot | 3 --- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/snmp_standard/mode/listspanningtrees.pm b/src/snmp_standard/mode/listspanningtrees.pm index f457574578..2ca2712ba4 100644 --- a/src/snmp_standard/mode/listspanningtrees.pm +++ b/src/snmp_standard/mode/listspanningtrees.pm @@ -16,7 +16,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# + package snmp_standard::mode::listspanningtrees; diff --git a/src/snmp_standard/mode/spanningtree.pm b/src/snmp_standard/mode/spanningtree.pm index 0aa7d9166b..72165c796a 100644 --- a/src/snmp_standard/mode/spanningtree.pm +++ b/src/snmp_standard/mode/spanningtree.pm @@ -16,7 +16,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# + package snmp_standard::mode::spanningtree; diff --git a/tests/network/hp/procurve/snmp/list-spanning-trees.robot b/tests/network/hp/procurve/snmp/list-spanning-trees.robot index f3b327bf47..6a97e577af 100644 --- a/tests/network/hp/procurve/snmp/list-spanning-trees.robot +++ b/tests/network/hp/procurve/snmp/list-spanning-trees.robot @@ -22,10 +22,7 @@ list-spanning-trees ${tc} ... --snmp-timeout=1 ... ${extra_options} - # first run to build cache - Run ${command} - # second run to control the output - Ctn Run Command And Check Result As Strings ${command} ${expected_result} + Ctn Run Command And Check Result As Strings ${command} ${expected_result} Examples: tc extra_options expected_result -- ... 1 --filter-port='Anonymized 053' List ports with spanning tree protocol: [port = Anonymized 053] [state = forwarding] [op_status = up] [admin_status = up] [index = 28] diff --git a/tests/network/hp/procurve/snmp/spanning-tree.robot b/tests/network/hp/procurve/snmp/spanning-tree.robot index 430ff5a62f..05f894c69d 100644 --- a/tests/network/hp/procurve/snmp/spanning-tree.robot +++ b/tests/network/hp/procurve/snmp/spanning-tree.robot @@ -22,9 +22,6 @@ spanning-tree ${tc} ... --snmp-timeout=1 ... ${extra_options} - # first run to build cache - Run ${command} - # second run to control the output Ctn Run Command And Check Result As Strings ${command} ${expected_result} Examples: tc extra_options expected_result --