From 0828357e19e55e5090b6d6e13d3ff568dc6cfa29 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 17 Sep 2022 18:43:12 +0200 Subject: Include full path in ManifestNoSupportedHashes exception MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- tests/test_recursiveloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_recursiveloader.py') 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('')).split('', 1)[1]), (SymlinkLoopIgnoreLayout, '', '', None), (UnknownHashOnlyLayout, '', '', - str(ManifestNoSupportedHashes(ManifestFileEntry( - 'test', 0, {"X-UNKNOWN": ""})))), + str(ManifestNoSupportedHashes("", ManifestFileEntry( + "", 0, {"X-UNKNOWN": ""}))).split("", 1)[1]), ]) def test_cli_verify(layout_factory, caplog, layout, path, args, expected): tmp_path = layout_factory.create(layout, readonly=True) -- cgit v1.2.3