Update server.py

This commit is contained in:
Solvik 2020-07-29 00:21:08 +02:00 committed by GitHub
parent d1a0ec2324
commit da5e8ad2e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'