mirror of
https://github.com/minetest/contentdb.git
synced 2024-09-20 04:48:30 +02:00
12 lines
237 B
Python
12 lines
237 B
Python
|
import pytest
|
||
|
from app import app
|
||
|
from utils import client, recreate_db
|
||
|
|
||
|
def test_homepage_ok(client):
|
||
|
"""Start with a blank database."""
|
||
|
|
||
|
assert app.config["TESTING"]
|
||
|
|
||
|
rv = client.get("/")
|
||
|
assert b"No packages available" in rv.data
|