More configurable pagination

This commit is contained in:
Eliot Berriot 2019-04-09 10:30:26 +02:00
parent b36b03383e
commit a3ad476c88
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
4 changed files with 56 additions and 3 deletions

View file

@ -612,7 +612,7 @@ def test_list_licenses(api_client, preferences, mocker):
expected = [
serializers.LicenseSerializer(l.conf).data
for l in models.License.objects.order_by("code")[:25]
for l in models.License.objects.order_by("code")
]
url = reverse("api:v1:licenses-list")