From 998129ab8a1d79bb5613e7f843a101021081afa0 Mon Sep 17 00:00:00 2001 From: xintli <986222045@qq.com> Date: Thu, 14 Jul 2022 15:19:00 +0800 Subject: [PATCH] Fix: test error of nmcli in the datasource ethernet (#3468) Signed-off-by: Xinting Li Co-authored-by: Xinting Li --- insights/tests/datasources/test_ethernet.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/insights/tests/datasources/test_ethernet.py b/insights/tests/datasources/test_ethernet.py index eeccf210f1..1feb779f54 100644 --- a/insights/tests/datasources/test_ethernet.py +++ b/insights/tests/datasources/test_ethernet.py @@ -39,7 +39,9 @@ team0 bf000427-d9f1-432f-819d-257edb86c6fb team -- """ -NMCLI_C_SHOW_EMPTY = "" +NMCLI_C_SHOW_EMPTY = """ +NAME UUID TYPE DEVICE +""" EXPECTED = ['enp1s0', 'enp8s0', 'enp1s0.2']