• S
    binman: Make the operation of Entry__testing explicit · 1835cd22
    Simon Glass 提交于
    This fake entry is used for testing. At present it only has one behaviour
    which is to return an invalid set of entry positions, to cause an error.
    
    The fake entry will need to be used for other things too. Allow the test
    .dts file to specify the behaviour of the fake entry, so we can control
    its behaviour easily.
    
    While we are here, drop the ReadContents() method, since this only applies
    to subclasses of Entry_blob, which Entry__testing is not.
    Signed-off-by: NSimon Glass <sjg@chromium.org>
    1835cd22
_testing.py 893 字节