aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_gtpu.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-06-06 18:01:07 -0400
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2019-06-07 00:09:40 +0000
commit20344a1e5c4342fcbd485e9c3915e96e1dc6ffe5 (patch)
tree046fac3052c66c8efb4fe35a7a26b3448b135d56 /test/test_gtpu.py
parent00cca801a5d96f4b5e5960396448dea6c457928b (diff)
tests: fix broken test test_gtpu.py TestGtpuUDP
Test failing due to call to super.tearDown in setUp. ============================================================================== FAIL: test UDP ports ------------------------------------------------------------------------------ Traceback (most recent call last): File "/vpp/test/test_gtpu.py", line 77, in test_udp_port self._check_udp_port_ip4(False) File "/vpp/test/test_gtpu.py", line 48, in _check_udp_port_ip4 self.assertEqual(err, self.ip4_err + 1) AssertionError: 0L != 1 Type: fix Change-Id: Iec4ef5edd3ee11bcd962b77cc8159dee9cb15687 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/test_gtpu.py')
-rw-r--r--test/test_gtpu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_gtpu.py b/test/test_gtpu.py
index 9f3c090726e..23f1bd8f694 100644
--- a/test/test_gtpu.py
+++ b/test/test_gtpu.py
@@ -17,7 +17,7 @@ class TestGtpuUDP(VppTestCase):
""" GTPU UDP ports Test Case """
def setUp(self):
- super(TestGtpuUDP, self).tearDown()
+ super(TestGtpuUDP, self).setUp()
self.dport = 2152