Skip to content

Commit 57de8f9

Browse files
committed
Fix test #1938
* Add `.resolve()` to resolve file system path Signed-off-by: Chin Yeung Li <tli@nexb.com>
1 parent 74f95cb commit 57de8f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scanpipe/tests/pipes/test_nix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,5 +351,5 @@ def test_scanpipe_nix_extract_nar_archive_success(self, mock_subprocess_run):
351351
archive_path=str(archive_path), output_dir=temp_dir, output="debug"
352352
)
353353

354-
expected_extracted_path = str(Path(temp_dir) / "to" / "debug")
354+
expected_extracted_path = str(Path(temp_dir).resolve() / "to" / "debug")
355355
self.assertEqual(result, expected_extracted_path)

0 commit comments

Comments
 (0)