Skip to content

Commit

Permalink
Do not bomb out if vault is unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
hartmans committed Nov 22, 2024
1 parent 6ffe05a commit edd1ea0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
import time
from carthage.pytest import *
from carthage import *
from carthage.vault import *
try:
from carthage.vault import *
except ImportError: pass



Expand All @@ -23,6 +25,7 @@ def vault():
Start a vault in dev mode
'''
try:
import carthage.vault
from sh import vault as vault_cmd
except Exception:
pytest.skip('vault not installed')
Expand Down

0 comments on commit edd1ea0

Please sign in to comment.