Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions c2corg_api/tests/views/test_waypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ def test_get_collection_paginated(client, session, docs):
5,
)


def test_get_collection_hut_category(client, session):
hut = Waypoint(
waypoint_type='hut',
Expand All @@ -477,6 +478,7 @@ def test_get_collection_hut_category(client, session):
'hut_category' not in d for d in documents if d['waypoint_type'] != 'hut'
)


def test_get_collection_limit_max(client):
# a map asks for up to 500 documents of its view; more is cut to that
with patch(
Expand Down