Update scheduling algorithm
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from parser import parse_target_csv
|
||||
from db import DEVICE_DUT, DEVICE_REF
|
||||
|
||||
result = parse_target_csv(['data/CGW453_P2P_COE_Tests.csv'])
|
||||
by_id = {(t.test_id, t.device): t for t in result.tests}
|
||||
|
||||
dut = by_id.get(('P2PTXBE018', DEVICE_DUT))
|
||||
ref = by_id.get(('COETXBE012', DEVICE_REF))
|
||||
print('DUT', dut is not None, dut.coe_pairing if dut else None)
|
||||
print('REF', ref is not None, ref.coe_pairing if ref else None)
|
||||
Reference in New Issue
Block a user