Skip to content

Commit

Permalink
test(raster_test): move raster path variable from pca_test
Browse files Browse the repository at this point in the history
  • Loading branch information
nialov committed Nov 25, 2024
1 parent b211475 commit c21f106
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/utilities/raster_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from pathlib import Path

import numpy as np
import rasterio
from rasterio import profiles
Expand All @@ -8,9 +10,11 @@
split_raster_bands,
stack_raster_arrays,
)
from tests.exploratory_analyses.pca_test import MULTIBAND_RASTER_PATH
from tests.raster_processing.clip_test import raster_path as SMALL_RASTER_PATH

TESTS_DIR = Path(__file__).parent.parent
MULTIBAND_RASTER_PATH = TESTS_DIR.joinpath("data/remote/small_raster_multiband.tif")


def test_split_raster_bands():
"""Test that splitting a multiband raster into singleband raster works as expected."""
Expand Down

0 comments on commit c21f106

Please sign in to comment.