def test_get_comic_format_dir() -> None: res = Comic.get_comic_format(COMIC_DIR) assert res is None
def _test_get_comic_fmt(src: Path, fmt: Optional[str]) -> None: res = Comic.get_comic_format(src) assert res == fmt