Пример #1
0
def test():
    sample_data = {
        'dac_x1': 45, 'dac_y1': 234, 'dac_x2': 1234, 'dac_y2': 8654,
        'vgpos': 987, 'vgneg': -12345678, 'ideal_vgswing': 5432, 
        'board_type': "parrot", 'board_ver_maj': 1, 'board_ver_min': 2,
        'vcom_mode': 1, 'hv_pmic': 2, 'vcom_dac': 3, 'vcom_adc': 1,
        'io_config': 1, 'i2c_mode': 2, 'temp_sensor': 0, 'frame_buffer': 0,
        'epdc_ref': 1, 'adc_scale_1': 1, 'adc_scale_2': 1,
        }
    test_md5 = '69e2855c371ce0c44eb9613899ae8583'
    return blob.test(sample_data, build_blob, test_md5)
Пример #2
0
def test():
    sample_data = {
        "display_id": "DisplayIdentifier 1234567890",
        "display_type": "Type18",
        "vcom": 4500,
        "wvf": data_util.lorem_ipsum,
        "wvf_id": "TestWaveformIdentifier ABCDXYZ",
        "target": "S1D13541",
    }
    test_md5 = "b017fdaf6b9dc26ef87b273042c14a39"
    return blob.test(sample_data, build_blob, test_md5)