takahe/tests/api/test_instance.py

8 lines
171 B
Python
Raw Normal View History

2022-12-10 23:25:48 -08:00
import pytest
@pytest.mark.django_db
2023-02-13 18:40:10 -08:00
def test_instance(api_client):
response = api_client.get("/api/v1/instance").json()
2022-12-10 23:25:48 -08:00
assert response["uri"] == "example.com"