Fix path in no_atomic extraction test

Updated the test to correctly reference the extracted file path in the 'test_no_atomic_extracted' scenario, ensuring the test checks the correct file location.
This commit is contained in:
xixu-me committed 2025-06-01 19:07:14 +08:00
1 parent ec04f2935e
commit d2095bb7b4
1 file changed
+1 -1
+1 -1
View File
@@ -762,7 +762,7 @@ class TestCLIRealWorldScenarios:
extract_dir = temp_dir / "no_atomic_extracted"
result = main(["x", str(archive_path), "-o", str(extract_dir)])
assert result == 0
extracted_file = extract_dir / "test_no_atomic_extracted" / "test_no_atomic.txt"
extracted_file = extract_dir / "test_no_atomic.txt"
assert extracted_file.exists()
def test_no_atomic_flag_in_subdirectory(self, temp_dir):