From: Rafael Zalamena Date: Fri, 22 Dec 2017 12:47:20 +0000 (-0200) Subject: topogen: import pytest assert function X-Git-Tag: frr-7.1-dev~151^2~160 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=0e17ee9e034ed6d9156f9ab1843c5508bf987cb2;p=mirror%2Ffrr.git 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 --- 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