From fd040b864e9fc7898be69cc108d5019fc8fe7713 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 14 Aug 2024 13:14:29 +0200 Subject: [PATCH] ci: drop unused option --yunodebug in pytest conftest --- src/tests/conftest.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/tests/conftest.py b/src/tests/conftest.py index a1caf7416..246ae29b7 100644 --- a/src/tests/conftest.py +++ b/src/tests/conftest.py @@ -43,10 +43,6 @@ def raiseYunohostError(mocker, key, **kwargs): assert e_info._excinfo[1].kwargs == kwargs -def pytest_addoption(parser): - parser.addoption("--yunodebug", action="store_true", default=False) - - # # Tweak translator to raise exceptions if string keys are not defined # # @@ -76,7 +72,7 @@ def pytest_cmdline_main(config): sys.path.insert(0, "/usr/lib/moulinette/") import yunohost - yunohost.init(debug=config.option.yunodebug) + yunohost.init() class DummyInterface: type = "cli"