From 0e17ee9e034ed6d9156f9ab1843c5508bf987cb2 Mon Sep 17 00:00:00 2001 From: Rafael Zalamena Date: Fri, 22 Dec 2017 10:47:20 -0200 Subject: [PATCH] topogen: import pytest assert function Use the pytest assert function to be able to report to pytest failures that happened inside the API. Signed-off-by: Rafael Zalamena --- tests/topotests/lib/topogen.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/topotests/lib/topogen.py b/tests/topotests/lib/topogen.py index 2ea05c9742..116dd9a41e 100644 --- a/tests/topotests/lib/topogen.py +++ b/tests/topotests/lib/topogen.py @@ -48,6 +48,7 @@ import grp import platform import pwd import subprocess +import pytest from mininet.net import Mininet from mininet.log import setLogLevel -- 2.39.5