MCPcopy Create free account
hub / github.com/alephdata/aleph / test_offset

Method test_offset

aleph/tests/test_search_query.py:85–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83 )
84
85 def test_offset(self):
86 q = query([("offset", 10), ("limit", 100)])
87 body = q.get_body()
88 self.assertDictContainsSubset({"from": 10, "size": 100}, body)
89
90 def test_post_filters(self):
91 q = query(

Callers

nothing calls this directly

Calls 2

queryFunction · 0.85
get_bodyMethod · 0.80

Tested by

no test coverage detected