mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
ci: drop unused option --yunodebug in pytest conftest
This commit is contained in:
parent
4fc929005d
commit
fd040b864e
1 changed files with 1 additions and 5 deletions
|
@ -43,10 +43,6 @@ def raiseYunohostError(mocker, key, **kwargs):
|
||||||
assert e_info._excinfo[1].kwargs == 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 #
|
# 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/")
|
sys.path.insert(0, "/usr/lib/moulinette/")
|
||||||
import yunohost
|
import yunohost
|
||||||
|
|
||||||
yunohost.init(debug=config.option.yunodebug)
|
yunohost.init()
|
||||||
|
|
||||||
class DummyInterface:
|
class DummyInterface:
|
||||||
type = "cli"
|
type = "cli"
|
||||||
|
|
Loading…
Add table
Reference in a new issue