From c077d69ebed4c2955652cd44064cf0d954fab91e Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Tue, 3 Aug 2021 10:24:42 +0300 Subject: [PATCH] Add needrestart test case. The parsing doesn't handle it correctly and fails. Obviously tests will fail until I fix it. --- tests/test_nagios.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_nagios.py b/tests/test_nagios.py index e44f2fc..a021e3a 100644 --- a/tests/test_nagios.py +++ b/tests/test_nagios.py @@ -33,6 +33,7 @@ PERF_DATA = [ """'C: used %'=44%;75;85;0;100""", """time_offset-192.168.0.1=-7.22636468709e-05s;1;2;0;;""", """àéèï-192.168.0.1=-7.22636468709e-05s;1;2;0;;""", + """Kernel=0;0;;0;2 Microcode=U;0;;0;1 Services=0;;0;0 Containers=0;;0;0 Sessions=0;0;;0""", # noqa: E501 ] -- GitLab