add kontor-blacksheep and kontor-piccolo as blueprints for new app
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
Thomas Peetz
2026-06-03 15:59:59 +02:00
parent b039ae97a9
commit 37e094e390
28 changed files with 1852 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import os
import sys
from piccolo.utils.warnings import colored_warning
def pytest_configure(*args):
if os.environ.get("PICCOLO_TEST_RUNNER") != "True":
colored_warning(
"\n\n"
"We recommend running Piccolo tests using the "
"`piccolo tester run` command, which wraps Pytest, and makes "
"sure the test database is being used. "
"To stop this warning, modify conftest.py."
"\n\n"
)
sys.exit(1)