1212load_image_param = [
1313 # case 1: just filename of file in current directory.
1414 # expect function loads tiff file from cwd
15- ("example.tiff " , True ),
15+ ("KFe2As2-00838.tif " , True ),
1616 # case 2: absolute file path to file in another directory.
1717 # expect file is found and correctly read.
18- ("home_dir/example.tiff " , True ),
18+ ("home_dir/KFe2As2-00838.tif " , True ),
1919 # case 3: relative file path to file in another directory.
2020 # expect file is found and correctly read
21- ("./example.tiff " , True ),
21+ ("./KFe2As2-00838.tif " , True ),
2222 # case 4: non-existent file that incurred by mistype.
2323 ("nonexistent_file.tif" , False ),
2424]
@@ -31,9 +31,9 @@ def test_load_image(input_path, expected, user_filesystem):
3131 os .chdir (cwd_dir )
3232
3333 # locate source example file inside project docs
34- source_file = PROJECT_ROOT / "docs" / "examples" / "example.tiff "
35- shutil .copy (source_file , cwd_dir / "example.tiff " )
36- shutil .copy (source_file , home_dir / "example.tiff " )
34+ source_file = PROJECT_ROOT / "docs" / "examples" / "KFe2As2-00838.tif "
35+ shutil .copy (source_file , cwd_dir / "KFe2As2-00838.tif " )
36+ shutil .copy (source_file , home_dir / "KFe2As2-00838.tif " )
3737
3838 old_cwd = Path .cwd ()
3939 os .chdir (home_dir )
0 commit comments