takahe/tests/api/test_instance.py

8 lines
171 B
Python
Raw Normal View History

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