summaryrefslogtreecommitdiffstats
path: root/test/test_det44.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_det44.py')
-rw-r--r--test/test_det44.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/test_det44.py b/test/test_det44.py
index d022cd53cd3..f137e760c38 100644
--- a/test/test_det44.py
+++ b/test/test_det44.py
@@ -4,7 +4,9 @@ import socket
import struct
import unittest
import scapy.compat
-from framework import VppTestCase, running_extended_tests
+from time import sleep
+from config import config
+from framework import VppTestCase
from ipfix import IPFIX, Set, Template, Data, IPFIXDecoder
from scapy.layers.inet import IP, TCP, UDP, ICMP
from scapy.layers.inet import IPerror, UDPerror
@@ -603,7 +605,7 @@ class TestDET44(VppTestCase):
self.assertEqual(0, dms[0].ses_num)
# TODO: ipfix needs to be separated from NAT base plugin
- @unittest.skipUnless(running_extended_tests, "part of extended tests")
+ @unittest.skipUnless(config.extended, "part of extended tests")
def test_session_limit_per_user(self):
""" Deterministic NAT maximum sessions per user limit """
self.vapi.det44_add_del_map(is_add=1, in_addr=self.pg0.remote_ip4,