mirror of
https://github.com/revanced/revanced-api.git
synced 2025-05-01 23:24:39 +02:00
16 lines
347 B
Python
16 lines
347 B
Python
import pytest
|
|
from sanic import Sanic
|
|
|
|
from api.models.socials import SocialsResponseModel
|
|
|
|
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 SocialsResponseModel(**response.json)
|