Skip to content

Commit

Permalink
fix: added test skip condition for test_hsm_hotwallet.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviksaikat committed Jan 9, 2025
1 parent 71965f8 commit baaf73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_hsm_hotwallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@


# Skip tests if required env vars are not set
pytestmark = pytest.mark.skipif(not all([os.environ.get("GOOGLE_CLOUD_PROJECT"), os.environ.get("GOOGLE_CLOUD_REGION"), os.environ.get("KEY_RING"), os.environ.get("KEY_NAME"), shutil.which("anvil")]), reason="Set Google Cloud env vars, and install anvil to run these tests")
pytestmark = pytest.mark.skipif(not all([os.environ.get("GOOGLE_CLOUD_PROJECT"), os.environ.get("GOOGLE_CLOUD_REGION"), os.environ.get("KEY_RING"), os.environ.get("KEY_NAME"), os.environ.get("GCP_ADC_CREDENTIALS_STRING"), shutil.which("anvil")]), reason="Set Google Cloud env vars, and install anvil to run these tests")

# Set up logging
logger = logging.getLogger(__name__)
Expand Down

0 comments on commit baaf73e

Please sign in to comment.