()
| 450 | |
| 451 | @skipUnless(has_cucim or has_osl or has_tiff, "Requires cucim, openslide, or tifffile!") |
| 452 | def setUpModule(): |
| 453 | download_url_or_skip_test( |
| 454 | testing_data_config("images", WSI_GENERIC_TIFF_KEY, "url"), |
| 455 | WSI_GENERIC_TIFF_PATH, |
| 456 | hash_type=testing_data_config("images", WSI_GENERIC_TIFF_KEY, "hash_type"), |
| 457 | hash_val=testing_data_config("images", WSI_GENERIC_TIFF_KEY, "hash_val"), |
| 458 | ) |
| 459 | download_url_or_skip_test( |
| 460 | testing_data_config("images", WSI_GENERIC_TIFF_CORRECT_MPP_KEY, "url"), |
| 461 | WSI_GENERIC_TIFF_CORRECT_MPP_PATH, |
| 462 | hash_type=testing_data_config("images", WSI_GENERIC_TIFF_CORRECT_MPP_KEY, "hash_type"), |
| 463 | hash_val=testing_data_config("images", WSI_GENERIC_TIFF_CORRECT_MPP_KEY, "hash_val"), |
| 464 | ) |
| 465 | download_url_or_skip_test( |
| 466 | testing_data_config("images", WSI_APERIO_SVS_KEY, "url"), |
| 467 | WSI_APERIO_SVS_PATH, |
| 468 | hash_type=testing_data_config("images", WSI_APERIO_SVS_KEY, "hash_type"), |
| 469 | hash_val=testing_data_config("images", WSI_APERIO_SVS_KEY, "hash_val"), |
| 470 | ) |
| 471 | |
| 472 | |
| 473 | class WSIReaderTests: |
nothing calls this directly
no test coverage detected
searching dependent graphs…