stable-diffusion-webui/tests/test_webapp.py
TakodaS 149824a515 WIP: nixified webui
currently packaging as a nixosModule so should be easy to integrate with
nixos generators in the future. Also looking at making a docker image
without systemd
2025-03-10 17:51:53 +00:00

8 lines
182 B
Python

from django.test import Client
def test_index(client: Client) -> None:
resp = client.get("/")
assert resp.status_code == 200
assert resp.content == b"Hello from index"