-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Labels
best practiceIssues that should be addressed for compliance with best practices, but that aren't technically bugsIssues that should be addressed for compliance with best practices, but that aren't technically bugsgood first issue
Description
In tests/utils/test_cases.py
, the values are arbitrary fixed values. People might take RANDOM
to mean different every run. Noticed during review of #201
RANDOM_GEOM = {
"type":
"Polygon",
"coordinates": [[[-2.5048828125, 3.8916575492899987], [-1.9610595703125, 3.8916575492899987],
[-1.9610595703125, 4.275202171119132], [-2.5048828125, 4.275202171119132],
[-2.5048828125, 3.8916575492899987]]]
}
RANDOM_BBOX = [
RANDOM_GEOM['coordinates'][0][0][0], RANDOM_GEOM['coordinates'][0][0][1],
RANDOM_GEOM['coordinates'][0][1][0], RANDOM_GEOM['coordinates'][0][1][1]
]
RANDOM_EXTENT = Extent(spatial=SpatialExtent.from_coordinates(RANDOM_GEOM['coordinates']),
temporal=TemporalExtent.from_now()) # noqa: E126
Metadata
Metadata
Assignees
Labels
best practiceIssues that should be addressed for compliance with best practices, but that aren't technically bugsIssues that should be addressed for compliance with best practices, but that aren't technically bugsgood first issue