From 7c8014e86f4ffde4862336581e0b9ca44a6b8a45 Mon Sep 17 00:00:00 2001 From: Martin Kourim Date: Thu, 2 Jan 2025 18:14:55 +0100 Subject: [PATCH] fix(tests): update warning messages for custom paths Updated warning messages in conftest.py to indicate the use of custom paths for `cardano-cli` and `cardano-node` instead of nix store paths. --- cardano_node_tests/tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cardano_node_tests/tests/conftest.py b/cardano_node_tests/tests/conftest.py index 797f49789..3ab0f2693 100644 --- a/cardano_node_tests/tests/conftest.py +++ b/cardano_node_tests/tests/conftest.py @@ -118,9 +118,9 @@ def pytest_configure(config: tp.Any) -> None: config.stash[metadata_key]["db-sync exe"] = str(configuration.DBSYNC_BIN) if "nix/store" not in config.stash[metadata_key]["cardano-cli exe"]: - LOGGER.warning("WARNING: Not using `cardano-cli` from nix store!") + LOGGER.warning(" WARNING: Using `cardano-cli` from custom path!") if "nix/store" not in config.stash[metadata_key]["cardano-node exe"]: - LOGGER.warning("WARNING: Not using `cardano-node` from nix store!") + LOGGER.warning(" WARNING: Using `cardano-node` from custom path!") def _skip_all_tests(config: tp.Any, items: list) -> bool: