mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
11 lines
451 B
Python
11 lines
451 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""
|
|
Dummy file to help pytest-django path detection.
|
|
|
|
pytest-django searches for a folder with manage.py and treats that as parent
|
|
directory for Django project. This folder is then added to Python path managed
|
|
in sys.path. This allows the Django setting module to be discovered as
|
|
plinth.tests.data.django_test_settings. pytest can then be invoked simply as
|
|
'py.test-3' instead of 'python3 -m pytest'.
|
|
"""
|