File: manage.py

package info (click to toggle)
plinth 20.12.1~bpo10+1
  • links: PTS, VCS
  • area: main
  • in suites: buster-backports
  • size: 60,976 kB
  • sloc: python: 31,416; xml: 28,760; sh: 650; javascript: 468; makefile: 107; php: 24
file content (10 lines) | stat: -rw-r--r-- 451 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
# 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'.
"""