tests: functional: Drop undefined 'sso' pytest mark

Remove the following warnings when running functional tests.

plinth/modules/calibre/tests/test_functional.py:13: PytestUnknownMarkWarning: Unknown pytest.mark.sso - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    pytestmark = [pytest.mark.apps, pytest.mark.sso, pytest.mark.calibre]

plinth/modules/kiwix/tests/test_functional.py:15: PytestUnknownMarkWarning: Unknown pytest.mark.sso - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    pytestmark = [pytest.mark.apps, pytest.mark.sso, pytest.mark.kiwix]

plinth/modules/searx/tests/test_functional.py:9: PytestUnknownMarkWarning: Unknown pytest.mark.sso - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    pytestmark = [pytest.mark.apps, pytest.mark.searx, pytest.mark.sso]

plinth/modules/syncthing/tests/test_functional.py:11: PytestUnknownMarkWarning: Unknown pytest.mark.sso - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    pytestmark = [pytest.mark.apps, pytest.mark.syncthing, pytest.mark.sso]

plinth/modules/transmission/tests/test_functional.py:13: PytestUnknownMarkWarning: Unknown pytest.mark.sso - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    pytestmark = [pytest.mark.apps, pytest.mark.transmission, pytest.mark.sso]

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2026-03-17 12:11:55 -07:00
parent 009e07b232
commit 31925252cb
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
5 changed files with 7 additions and 5 deletions

View File

@ -10,7 +10,7 @@ import pytest
from plinth.tests import functional
pytestmark = [pytest.mark.apps, pytest.mark.sso, pytest.mark.calibre]
pytestmark = [pytest.mark.apps, pytest.mark.calibre]
class TestCalibreApp(functional.BaseAppTests):

View File

@ -12,7 +12,7 @@ from plinth.tests import functional
from .test_privileged import ZIM_ID
pytestmark = [pytest.mark.apps, pytest.mark.sso, pytest.mark.kiwix]
pytestmark = [pytest.mark.apps, pytest.mark.kiwix]
_default_url = functional.config['DEFAULT']['url']

View File

@ -4,9 +4,10 @@ Functional, browser based tests for searx app.
"""
import pytest
from plinth.tests import functional
pytestmark = [pytest.mark.apps, pytest.mark.searx, pytest.mark.sso]
pytestmark = [pytest.mark.apps, pytest.mark.searx]
@pytest.fixture(scope='module', autouse=True)

View File

@ -6,9 +6,10 @@ Functional, browser based tests for syncthing app.
import time
import pytest
from plinth.tests import functional
pytestmark = [pytest.mark.apps, pytest.mark.syncthing, pytest.mark.sso]
pytestmark = [pytest.mark.apps, pytest.mark.syncthing]
class TestSyncthingApp(functional.BaseAppTests):

View File

@ -10,7 +10,7 @@ from splinter.exceptions import ElementDoesNotExist
from plinth.tests import functional
pytestmark = [pytest.mark.apps, pytest.mark.transmission, pytest.mark.sso]
pytestmark = [pytest.mark.apps, pytest.mark.transmission]
class TestTransmissionApp(functional.BaseAppTests):