fix: correct pipelock constant imports in test file
lint / lint (push) Successful in 1m26s
test / unit (pull_request) Successful in 33s
test / integration (pull_request) Successful in 44s

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 <noreply@anthropic.com>
This commit is contained in:
2026-06-04 12:08:36 -04:00
parent f548c30608
commit 8795616a99
+4 -4
View File
@@ -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,