Skip to content

Commit

Permalink
remove completed to dos & unused fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
dugalh committed Oct 14, 2023
1 parent cff1d69 commit c000e23
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,14 +332,6 @@ def rgb_byte_src_file(tmp_path_factory: pytest.TempPathFactory, im_size: Tuple)
return src_filename


@pytest.fixture(scope='session')
def rgb_float_src_file(tmp_path_factory: pytest.TempPathFactory, im_size: Tuple) -> Path:
""" An RGB float32 checkerboard image with no CRS. """
src_filename = tmp_path_factory.mktemp('data').joinpath('rgb_float_src.tif')
create_src(src_filename, im_size, dtype='float32', count=3)
return src_filename


@pytest.fixture(scope='session')
def float_src_file(tmp_path_factory: pytest.TempPathFactory, im_size: Tuple) -> Path:
""" A single band float64 checkerboard image with no CRS. """
Expand Down Expand Up @@ -487,12 +479,6 @@ def ngi_image_file() -> Path:
return next(iter(root_path.joinpath('tests', 'data', 'ngi').glob('*RGB.tif')))


@pytest.fixture(scope='session')
def ngi_image_wildcard() -> str:
""" Wildcard for NGI aerial image files. """
return str(root_path.joinpath('tests', 'data', 'ngi')) + '*RGB.tif'


@pytest.fixture(scope='session')
def ngi_dem_file() -> Path:
""" NGI DEM file. """
Expand Down Expand Up @@ -688,5 +674,3 @@ def xmp_no_dewarp_image_file(odm_image_file: Path, tmp_path_factory: pytest.Temp
dst_im.write(src_im.read())
return dst_filename

# TODO: move fixtures used by a single module to that module

0 comments on commit c000e23

Please sign in to comment.