Align openapi specs to the actual API
This commit is contained in:
parent
c19b3d3545
commit
301cea927a
22 changed files with 153 additions and 111 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import uuid
|
||||
import pytest
|
||||
|
||||
from django.urls import reverse
|
||||
|
|
@ -282,7 +281,7 @@ def test_subscriptions_all(factories, logged_in_api_client):
|
|||
|
||||
assert response.status_code == 200
|
||||
assert response.data == {
|
||||
"results": [{"uuid": subscription.uuid, "channel": uuid.UUID(channel.uuid)}],
|
||||
"results": [{"uuid": subscription.uuid, "channel": channel.uuid}],
|
||||
"count": 1,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue