FreedomBox/conftest.py
Sunil Mohan Adapa a14578c50d
tests: Move test configuration to plinth directory
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-03-13 09:57:55 -04:00

11 lines
336 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""
pytest configuration that needs to be pytest rootdir.
"""
def pytest_addoption(parser):
"""Add a command line option to run functional tests."""
parser.addoption('--include-functional', action='store_true',
default=False, help='Run functional tests also')