summaryrefslogtreecommitdiffstats
path: root/test/test_gtpu.py
diff options
context:
space:
mode:
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 f5b1089757e..4b776285766 100644
--- a/test/test_gtpu.py
+++ b/test/test_gtpu.py
@@ -168,7 +168,7 @@ class TestGtpu(BridgeDomain, VppTestCase):
teid=teid,
is_add=is_add)
if r.sw_if_index == 0xffffffff:
- raise "bad sw_if_index"
+ raise ValueError("bad sw_if_index: ~0")
@classmethod
def add_shared_mcast_dst_load(cls):