fix: if mock is active, do not search rbw or bw

This commit is contained in:
egarette@silique.fr 2025-02-19 08:59:13 +01:00
parent 4c72346aa6
commit a12cf396fd
3 changed files with 36 additions and 27 deletions

View file

@ -55,6 +55,7 @@ class RougailUserDataBitwarden:
self.leader_informations = {}
bitwarden_command_line = None
one_is_find = False
if 'ROUGAIL_BITWARDEN_MOCK_ENABLE' not in environ:
if which('rbw'):
one_is_find = True
try:

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"rougail.username": "bitwarden_username",
"rougail.secret": "bitwarden_password"
}