Move the pytest config

This commit is contained in:
Alexander Hess 2026-11-25 14:43:31 +01:00
commit 03617d5bbb
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -19,7 +19,7 @@ from velofy import db
# The TESTING environment variable is set
# in setup.cfg in pytest's config section.
# in pyproject.toml in pytest's config section.
if not os.getenv('TESTING'):
raise RuntimeError('Tests must be executed with TESTING set in the environment')