Skip to content

tests: Show warning when app not available

One warning is printed with all of the relevant tests listed.

Example:

plinth/modules/mldonkey/tests/test_functional.py::test_enable_mldonkey_application
plinth/modules/mldonkey/tests/test_functional.py::test_upload_an_ed2k_file_to_mldonkey
plinth/modules/mldonkey/tests/test_functional.py::test_backup_and_restore_mldonkey
plinth/modules/mldonkey/tests/test_functional.py::test_disable_mldonkey_application
  /home/james/salsa/freedombox-team/freedombox/plinth/tests/functional/__init__.py:349: UserWarning: App mldonkey is not available in distribution
    warnings.warn(

Signed-off-by: James Valleroy jvalleroy@mailbox.org

Merge request reports

Loading