takahe/tests/api/test_instance.py

8 lines
171 B
Python

import pytest
@pytest.mark.django_db
def test_instance(api_client):
response = api_client.get("/api/v1/instance").json()
assert response["uri"] == "example.com"