From da5e8ad2e7e95531e8c3ac5c90e58f2a5f7507b3 Mon Sep 17 00:00:00 2001 From: Solvik Date: Wed, 29 Jul 2020 00:21:08 +0200 Subject: [PATCH] Update server.py --- tests/server.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/server.py b/tests/server.py index 36437d7..b14d92d 100644 --- a/tests/server.py +++ b/tests/server.py @@ -37,6 +37,7 @@ def test_supermicro_blade(fixture): assert server.get_chassis_service_tag() == 'C9390AF40A20098' assert server.is_blade() is True + @parametrize_with_fixtures( 'dmidecode/', only_filenames=[ 'SM_SYS-6018R' @@ -47,6 +48,7 @@ def test_supermicro_pizza(fixture): assert server.get_service_tag() == 'A177950X7709591' assert server.is_blade() is False + @parametrize_with_fixtures( 'dmidecode/', only_filenames=[ 'QCT_X10E-9N' @@ -56,6 +58,7 @@ def test_qct_x10(fixture): server = QCTHost(dmi) assert server.get_service_tag() == 'QTFCQ57140285' + @parametrize_with_fixtures( 'dmidecode/', only_filenames=[ 'unknown.txt'