Update server.py
This commit is contained in:
parent
d1a0ec2324
commit
da5e8ad2e7
1 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue