chore: reorganize test files into domain-specific subdirectories
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# retoor <retoor@molodetz.nl>
|
||||
|
||||
import requests
|
||||
from tests.conftest import BASE_URL
|
||||
|
||||
|
||||
def test_404_renders_error_page(app_server):
|
||||
r = requests.get(f"{BASE_URL}/this-page-does-not-exist-xyz")
|
||||
assert r.status_code == 404
|
||||
assert "404" in r.text or "not found" in r.text.lower()
|
||||
Reference in New Issue
Block a user