aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/doc/conf.py5
-rw-r--r--test/ipfix.py4
2 files changed, 8 insertions, 1 deletions
diff --git a/test/doc/conf.py b/test/doc/conf.py
index 98cd7ab306d..25cd65b9f1f 100644
--- a/test/doc/conf.py
+++ b/test/doc/conf.py
@@ -33,7 +33,12 @@ extensions = [
'sphinx.ext.autodoc',
]
autodoc_mock_imports = ['objgraph',
+ 'parameterized',
+ 'pexpect',
+ 'psutil',
'pympler',
+ 'scapy',
+ 'syslog_rfc5424_parser',
'vpp_papi']
# Add any paths that contain templates here, relative to this directory.
diff --git a/test/ipfix.py b/test/ipfix.py
index 97b559e083b..e1c41b708d7 100644
--- a/test/ipfix.py
+++ b/test/ipfix.py
@@ -1,7 +1,9 @@
#!/usr/bin/env python
# IPFIX support for Scapy (RFC7011)
-from scapy.all import *
+from scapy.all import bind_layers, FieldLenField, IntField, Packet, \
+ PacketListField, ShortEnumField, ShortField, StrLenField
+from scapy.layers.inet import UDP
# IPFIX Information Elements http://www.iana.org/assignments/ipfix/ipfix.xhtml