aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_syslog.py
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-01-13 16:09:10 -0800
committerOle Trøan <otroan@employees.org>2019-01-14 13:09:08 +0000
commitdd3c5d250f3cf9712e37e47851ca07401e715f13 (patch)
tree6fce0938d790736a1392e991bf002c451e976b4d /test/test_syslog.py
parent262e064bb6b8498adee8bc4793867b09398ee807 (diff)
VTL: Allow running simple unittest.TestCases.
It came to my attention that Ole added a simple test in: https://gerrit.fd.io/r/#/c/16381/ and the framework forced him to launch an instance of VPP to test the formatting of a mac address. This change allows the test framework to run standard unittest.TestCases without the need to spawn a VPP instance. Change-Id: I56651ab27c4c6bf920081a526f168a743d643201 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/test_syslog.py')
-rw-r--r--test/test_syslog.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_syslog.py b/test/test_syslog.py
index 9b328be3ad0..b407bdf6a55 100644
--- a/test/test_syslog.py
+++ b/test/test_syslog.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python
+import unittest
from framework import VppTestCase, VppTestRunner
from util import ppp
from scapy.packet import Raw