takahe/tests/api/test_instance.py
2023-02-13 19:40:10 -07:00

7 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"