fix tests

This commit is contained in:
Cayo Puigdefabregas 2022-09-13 19:53:44 +02:00
parent d215008927
commit 3040676f49
8 changed files with 13 additions and 11 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
Phid;Model;Manufacturer;Serial Number;Id device Supplier;Pallet;Info Phid;Model;Manufacturer;Serial Number;Part Number;Id device Supplier;Pallet;Info
a123;Vaio;Sony;12345678;TTT;24A;Good conditions a123;Vaio;Sony;12345678;;TTT;24A;Good conditions
a124;Vaio;Sony;12345679;TTT;24A;Good conditions a124;Vaio;Sony;12345679;;TTT;24A;Good conditions
a125;Vaio;Sony;12345680;TTT;24A;Good conditions a125;Vaio;Sony;12345680;;TTT;24A;Good conditions

1 Phid Model Manufacturer Serial Number Part Number Id device Supplier Pallet Info
2 a123 Vaio Sony 12345678 TTT 24A Good conditions
3 a124 Vaio Sony 12345679 TTT 24A Good conditions
4 a125 Vaio Sony 12345680 TTT 24A Good conditions

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -113,6 +113,7 @@ def test_physical_properties():
assert c.physical_properties == { assert c.physical_properties == {
'usb': 3, 'usb': 3,
'serial_number': 'sn', 'serial_number': 'sn',
'part_number': None,
'pcmcia': None, 'pcmcia': None,
'model': 'ml', 'model': 'ml',
'slots': 2, 'slots': 2,
@ -130,6 +131,7 @@ def test_physical_properties():
'model': 'foo', 'model': 'foo',
'receiver_id': None, 'receiver_id': None,
'serial_number': 'foo-bar', 'serial_number': 'foo-bar',
'part_number': None,
'transfer_state': TransferState.Initial 'transfer_state': TransferState.Initial
} }