mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +00:00
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:
parent
009e07b232
commit
31925252cb
@ -10,7 +10,7 @@ import pytest
|
|||||||
|
|
||||||
from plinth.tests import functional
|
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):
|
class TestCalibreApp(functional.BaseAppTests):
|
||||||
|
|||||||
@ -12,7 +12,7 @@ from plinth.tests import functional
|
|||||||
|
|
||||||
from .test_privileged import ZIM_ID
|
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']
|
_default_url = functional.config['DEFAULT']['url']
|
||||||
|
|
||||||
|
|||||||
@ -4,9 +4,10 @@ Functional, browser based tests for searx app.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from plinth.tests import functional
|
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)
|
@pytest.fixture(scope='module', autouse=True)
|
||||||
|
|||||||
@ -6,9 +6,10 @@ Functional, browser based tests for syncthing app.
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from plinth.tests import functional
|
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):
|
class TestSyncthingApp(functional.BaseAppTests):
|
||||||
|
|||||||
@ -10,7 +10,7 @@ from splinter.exceptions import ElementDoesNotExist
|
|||||||
|
|
||||||
from plinth.tests import functional
|
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):
|
class TestTransmissionApp(functional.BaseAppTests):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user