File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11
11
class JobSplittingFailure (Exception ):
12
12
pass
13
13
14
+
14
15
class _BoundingBox (NamedTuple ):
15
16
"""Simple NamedTuple container for a bounding box"""
16
17
Original file line number Diff line number Diff line change 1
1
import pytest
2
2
import shapely
3
3
4
- from openeo .extra .job_management .job_splitting import (
4
+ from openeo .extra .job_management ._job_splitting import (
5
5
JobSplittingFailure ,
6
6
_BoundingBox ,
7
7
_SizeBasedTileGrid ,
@@ -40,7 +40,6 @@ def mock_dict_with_crs_utm():
40
40
}
41
41
42
42
43
-
44
43
class TestBoundingBox :
45
44
def test_basic (self ):
46
45
bbox = _BoundingBox (1 , 2 , 3 , 4 )
@@ -89,7 +88,6 @@ def test_as_polygon(self):
89
88
90
89
91
90
class TestSizeBasedTileGrid :
92
-
93
91
def test_from_size_projection (self ):
94
92
splitter = _SizeBasedTileGrid .from_size_projection (0.1 , "EPSG:4326" )
95
93
assert splitter .epsg == 4326
You can’t perform that action at this time.
0 commit comments