Publish curated GeoIntel source snapshot
This commit is contained in:
commit
0aae654d6e
764 files changed
+169154
No files matched your search
@@ -0,0 +1,26 @@
|
||||
from pathlib import Path
|
||||
from tests.frontend_contract import read_feature
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2]
|
||||
|
||||
|
||||
def test_raster_tile_manifest_is_visible_and_can_handoff_to_detection_lab() -> None:
|
||||
app = read_feature("shell")
|
||||
hook = read_feature("datasets")
|
||||
detail_panel = read_feature("datasets")
|
||||
raster_controls = read_feature("datasets")
|
||||
|
||||
assert "latestRasterTileManifestPath" in hook
|
||||
assert "extractRasterTileManifestPath" in hook
|
||||
assert "setLatestRasterTileManifestPath(manifestPath)" in hook
|
||||
assert "latestRasterTileManifestPath," in app
|
||||
assert "onUseTileManifestForDetection: useRasterTileManifestForDetection" in app
|
||||
assert "setDetectionTileManifestPath(manifestPath)" in app
|
||||
assert "setSelectedDetectionDatasetId(selectedDataset.id)" in app
|
||||
assert "setSelectedDetectionModelId('yolo-configured')" in app
|
||||
assert "latestRasterTileManifestPath" in detail_panel
|
||||
assert "onUseTileManifestForDetection" in detail_panel
|
||||
assert "Laatste beeldtegelmanifest" in raster_controls
|
||||
assert "Gebruik voor gebouwdetectie" in raster_controls
|
||||
assert "disabled={!latestRasterTileManifestPath}" in raster_controls
|
||||
Reference in new issue
Block a user