From 8795616a99f6e6ea7f80084c17d3d124dc1ce278 Mon Sep 17 00:00:00 2001 From: didericis Date: Thu, 4 Jun 2026 12:08:36 -0400 Subject: [PATCH] fix: correct pipelock constant imports in test file Fixed ImportError in test_pipelock_apply.py: - PIPELOCK_CA_CERT_IN_CONTAINER and PIPELOCK_CA_KEY_IN_CONTAINER are defined in bot_bottle.pipelock, not bot_bottle.backend.docker.pipelock - Corrected import statement to import from correct module - Removed unnecessary type: ignore comments This fixes the integration test import failure. Co-Authored-By: Claude Haiku 4.5 --- tests/integration/test_pipelock_apply.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/integration/test_pipelock_apply.py b/tests/integration/test_pipelock_apply.py index 2acaf8d..e8670ab 100644 --- a/tests/integration/test_pipelock_apply.py +++ b/tests/integration/test_pipelock_apply.py @@ -32,11 +32,11 @@ from bot_bottle.backend.docker.network import ( network_create_internal, network_remove, ) -from bot_bottle.backend.docker.pipelock import ( - PIPELOCK_CA_CERT_IN_CONTAINER, # type: ignore - PIPELOCK_CA_KEY_IN_CONTAINER, # type: ignore - pipelock_tls_init, +from bot_bottle.pipelock import ( + PIPELOCK_CA_CERT_IN_CONTAINER, + PIPELOCK_CA_KEY_IN_CONTAINER, ) +from bot_bottle.backend.docker.pipelock import pipelock_tls_init from bot_bottle.pipelock import PipelockProxy from bot_bottle.backend.docker.pipelock_apply import ( PipelockApplyError,