diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-17 18:43:12 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-17 18:43:12 +0200 |
commit | 0828357e19e55e5090b6d6e13d3ff568dc6cfa29 (patch) | |
tree | 7a3012fd94e00a8b0951a97e46edf21e6fdaf8f5 /tests/test_recursiveloader.py | |
parent | 3c251c8d655011ec2ee4ec02933e8e02163b4620 (diff) | |
download | gemato-0828357e19e55e5090b6d6e13d3ff568dc6cfa29.tar.gz |
Include full path in ManifestNoSupportedHashes exception
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'tests/test_recursiveloader.py')
-rw-r--r-- | tests/test_recursiveloader.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_recursiveloader.py b/tests/test_recursiveloader.py index 6e2395b..f0c5673 100644 --- a/tests/test_recursiveloader.py +++ b/tests/test_recursiveloader.py @@ -1431,8 +1431,8 @@ def test_assert_directory_verifies(layout_factory, layout, path, fail_handler, str(ManifestSymlinkLoop('<path>')).split('<path>', 1)[1]), (SymlinkLoopIgnoreLayout, '', '', None), (UnknownHashOnlyLayout, '', '', - str(ManifestNoSupportedHashes(ManifestFileEntry( - 'test', 0, {"X-UNKNOWN": ""})))), + str(ManifestNoSupportedHashes("<path>", ManifestFileEntry( + "", 0, {"X-UNKNOWN": ""}))).split("<path>", 1)[1]), ]) def test_cli_verify(layout_factory, caplog, layout, path, args, expected): tmp_path = layout_factory.create(layout, readonly=True) |