aboutsummaryrefslogtreecommitdiffstats
path: root/test/framework.py
diff options
context:
space:
mode:
authorAndrej Kozemcak <andrej.kozemcak@pantheon.tech>2019-05-31 08:52:45 +0200
committerAndrej Kozemcak <andrej.kozemcak@pantheon.tech>2019-06-03 10:01:30 +0200
commit024a13ac0d2e25dec620003e2538acb4598598fd (patch)
treeee37343786a8824913e59a0cbd00d09e1fa74aa3 /test/framework.py
parente77922662052f0caec4129ee43ab9d176b806769 (diff)
[TEST] - Init log
- init log - clean output Change-Id: Ia4f722eb5c989df8d2f5f14f602ed30657db9975 Signed-off-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'test/framework.py')
-rw-r--r--test/framework.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/framework.py b/test/framework.py
index bd42b48..8a8c42c 100644
--- a/test/framework.py
+++ b/test/framework.py
@@ -20,6 +20,7 @@ import unittest
from topology import Topology
import vppctl
import sys
+import log
class SweetcombTestCase(unittest.TestCase):
@@ -40,6 +41,12 @@ class SweetcombTestCase(unittest.TestCase):
cls.netopeer_cli = cls.topology.get_netopeer_cli()
cls.vppctl = vppctl.Vppctl()
+ @classmethod
+ def setUpClass(cls):
+
+ super(SweetcombTestCase, cls).setUpClass()
+ cls.logger = log.get_logger(cls.__name__)
+
def runTest(self):
pass