Skip to content

Commit a261479

Browse files
committed
fix test
1 parent 395f2a5 commit a261479

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/resources/test_collection.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import json
12
from typing import Callable, Optional
23

34
import pystac
@@ -649,12 +650,12 @@ async def test_get_collections_search_offset_1(
649650
[
650651
("true", "cql2-text", 1),
651652
("1=1", "cql2-text", 1),
653+
("true", "cql2-json", 1),
654+
(json.dumps({"op": "=", "args": [1.0, 1.0]}), "cql2-json", 1),
652655
("false", "cql2-text", 0),
653656
("1=0", "cql2-text", 0),
654-
("true", "cql2-json", 1),
655-
("1=1", "cql2-json", 1),
656657
("false", "cql2-json", 0),
657-
("1=0", "cql2-json", 0),
658+
(json.dumps({"op": "=", "args": [1.0, 1.0]}), "cql2-json", 0),
658659
],
659660
)
660661
async def test_get_collections_filter(

0 commit comments

Comments
 (0)