mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-29 22:24:31 +02:00
16 lines
355 B
Python
16 lines
355 B
Python
import pytest
|
|
from sanic import Sanic
|
|
|
|
from api.models.socials import ConnectionsResponseModel
|
|
|
|
from config import api_version
|
|
|
|
# socials
|
|
|
|
|
|
@pytest.mark.asyncio
|
|
async def test_socials(app: Sanic):
|
|
_, response = await app.asgi_client.get(f"/{api_version}/socials")
|
|
assert response.status == 200
|
|
assert ConnectionsResponseModel(**response.json)
|