Publish curated GeoIntel source snapshot
This commit is contained in:
commit
0aae654d6e
764 files changed
+169154
No files matched your search
@@ -0,0 +1,29 @@
|
||||
from pathlib import Path
|
||||
from tests.frontend_contract import read_feature
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
def test_raster_tile_manifest_can_handoff_to_segmentation_lab() -> None:
|
||||
app = read_feature("shell")
|
||||
hook = read_feature("segmentation")
|
||||
detail_panel = read_feature("datasets")
|
||||
raster_controls = read_feature("datasets")
|
||||
segmentation_lab = read_feature("segmentation")
|
||||
|
||||
assert "segmentationTileManifestPath" in hook
|
||||
assert "setSegmentationTileManifestPath" in hook
|
||||
assert "let manifestPath = segmentationTileManifestPath.trim()" in hook
|
||||
assert "datasetsApi.rasterInspect(projectId, datasetId)" in hook
|
||||
assert "datasetsApi.rasterTile(projectId, datasetId" in hook
|
||||
assert "tile_manifest_path: manifestPath" in hook
|
||||
assert "segmentationTileManifestPath={segmentationTileManifestPath}" in app
|
||||
assert "onSetTileManifestPath={setSegmentationTileManifestPath}" in app
|
||||
assert "onUseTileManifestForSegmentation: useRasterTileManifestForSegmentation" in app
|
||||
assert "setSegmentationTileManifestPath(manifestPath)" in app
|
||||
assert "setSelectedSegmentationDatasetId(selectedDataset.id)" in app
|
||||
assert "onUseTileManifestForSegmentation" in detail_panel
|
||||
assert "Gebruik voor segmentatie" in raster_controls
|
||||
assert "disabled={!latestRasterTileManifestPath}" in raster_controls
|
||||
assert "Beeldtegelmanifest" in segmentation_lab
|
||||
Reference in new issue
Block a user