From 28df4c1f0ea0d6c6dc6b0460257aa9086e830d1a Mon Sep 17 00:00:00 2001 From: Daniel Porteous Date: Wed, 5 Apr 2023 11:20:19 +0100 Subject: [PATCH] Handle binary path correctly in CLI E2E test suite --- crates/aptos/e2e/test_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/aptos/e2e/test_helpers.py b/crates/aptos/e2e/test_helpers.py index 2ae95fe9a7baa..e3af62d430367 100644 --- a/crates/aptos/e2e/test_helpers.py +++ b/crates/aptos/e2e/test_helpers.py @@ -38,7 +38,7 @@ def __init__( self.host_working_directory = host_working_directory self.image_repo_with_project = image_repo_with_project self.image_tag = image_tag - self.cli_path = os.path.abspath(cli_path) + self.cli_path = os.path.abspath(cli_path) if cli_path else cli_path self.test_count = 0 self.api_client = RestClient(f"http://127.0.0.1:8080/v1")