diff options
author | Julia Kreger <juliaashleykreger@gmail.com> | 2023-05-02 17:24:57 -0700 |
---|---|---|
committer | Julia Kreger <juliaashleykreger@gmail.com> | 2023-05-02 17:24:57 -0700 |
commit | c05fdf790c3cab6a18ca5b264e258c5c0016918d (patch) | |
tree | 013355d90d3b232c3aff6d38d7b709e18e9c2b43 /ironic_python_agent/tests/unit/test_hardware.py | |
parent | f37ea85a2765a9fac580dc031bcf16b3a4e45d98 (diff) | |
download | ironic-python-agent-c05fdf790c3cab6a18ca5b264e258c5c0016918d.tar.gz |
Fix checksum validation logic
The checksum validation logic, which was updated early on in the
whole process of deprecating md5, didn't account for a URL *or* a
longer checksum (i.e. sha256/sha512) which was decided while the
overall approach was being decided.
Fixes the logic, and adds additional tests.
Change-Id: Ic4053776e131fc02ace295a1e69e9f9faab47f42
Diffstat (limited to 'ironic_python_agent/tests/unit/test_hardware.py')
0 files changed, 0 insertions, 0 deletions