We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c36407a commit 4838301Copy full SHA for 4838301
tests/api/test_search.py
@@ -151,5 +151,20 @@ def test_search_invalid_bbox(bbox):
151
Search(collections=["foo"], bbox=bbox)
152
153
154
+@pytest.mark.parametrize(
155
+ "bbox",
156
+ [
157
+ (
158
+ 100.0,
159
+ 0.0,
160
+ -95.0,
161
+ 1.0,
162
+ ), # xmin greater than xmax allowed when xmin > 0 and xmax < 0
163
+ ],
164
+)
165
+def test_search_valid_bbox(bbox):
166
+ Search(collections=["foo"], bbox=bbox)
167
+
168
169
def test_search_none_datetime() -> None:
170
Search(datetime=None)
0 commit comments