tests/TestSuite_stats_checks.py: Removed the unused module and invalid verification line.
diff mbox series

Message ID 1601268235-973-1-git-send-email-usurekha@marvell.com
State Accepted
Headers show
Series
  • tests/TestSuite_stats_checks.py: Removed the unused module and invalid verification line.
Related show

Commit Message

usurekha@marvell.com Sept. 28, 2020, 4:43 a.m. UTC
From: usurekha <usurekha@marvell.com>

Signed-off-by: usurekha <usurekha@marvell.com>
---
 tests/TestSuite_stats_checks.py | 2 --
 1 file changed, 2 deletions(-)

Comments

Tu, Lijuan Oct. 12, 2020, 9:04 a.m. UTC | #1
> Signed-off-by: usurekha <usurekha@marvell.com>

Applied

Patch
diff mbox series

diff --git a/tests/TestSuite_stats_checks.py b/tests/TestSuite_stats_checks.py
index e1c443b..4fdc086 100644
--- a/tests/TestSuite_stats_checks.py
+++ b/tests/TestSuite_stats_checks.py
@@ -40,7 +40,6 @@  from typing import List, Iterator, Tuple
 import utils
 from pmd_output import PmdOutput
 
-from port import Port
 
 from test_case import TestCase
 
@@ -124,7 +123,6 @@  class TestStatsChecks(TestCase):
 
         if received:
             self.verify(tx_pkts_difference >= 1, "No packet was sent")
-            self.verify(tx_bytes_difference == pktsize + ETHER_HEADER_LEN)
             self.verify(tx_pkts_difference == rx_pkts_difference, "different numbers of packets sent and received")
             self.verify(tx_bytes_difference == rx_bytes_difference, "different number of bytes sent and received")
             self.verify(tx_err_difference == 0, "unexpected tx error")