c7c47bbaf9c48c1919d3f7b928614d9f1300b7d3,app/tests/cases_tests/test_tiff.py,,test_error_handling,#Any#,385

Before Change


    // related files are associated with the gc_file
    temp_dir = Path(tmpdir_factory.mktemp("temp") / "resources")
    shutil.copytree(RESOURCE_PATH / "complex_tiff", temp_dir)
    files = [Path(d[0]).joinpath(f) for d in os.walk(temp_dir) for f in d[2]]
    image_builder_result = image_builder_tiff(files=files)

    assert len(image_builder_result.file_errors_map) == 14

After Change


    // related files are associated with the gc_file
    temp_dir = Path(tmpdir_factory.mktemp("temp") / "resources")
    shutil.copytree(RESOURCE_PATH / "complex_tiff", temp_dir)
    files = {Path(d[0]).joinpath(f) for d in os.walk(temp_dir) for f in d[2]}
    image_builder_result = image_builder_tiff(files=files)

    assert len(image_builder_result.file_errors) == 14
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: comic/grand-challenge.org
Commit Name: c7c47bbaf9c48c1919d3f7b928614d9f1300b7d3
Time: 2020-06-27
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/cases_tests/test_tiff.py
Class Name:
Method Name: test_error_handling


Project Name: comic/grand-challenge.org
Commit Name: c7c47bbaf9c48c1919d3f7b928614d9f1300b7d3
Time: 2020-06-27
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/cases_tests/test_fallback.py
Class Name:
Method Name: test_image_builder_fallback


Project Name: comic/grand-challenge.org
Commit Name: c7c47bbaf9c48c1919d3f7b928614d9f1300b7d3
Time: 2020-06-27
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/tests/cases_tests/test_fallback.py
Class Name:
Method Name: test_image_builder_fallback_corrupt_file