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 <noreply@anthropic.com>
This commit is contained in:
@@ -32,11 +32,11 @@ from bot_bottle.backend.docker.network import (
|
|||||||
network_create_internal,
|
network_create_internal,
|
||||||
network_remove,
|
network_remove,
|
||||||
)
|
)
|
||||||
from bot_bottle.backend.docker.pipelock import (
|
from bot_bottle.pipelock import (
|
||||||
PIPELOCK_CA_CERT_IN_CONTAINER, # type: ignore
|
PIPELOCK_CA_CERT_IN_CONTAINER,
|
||||||
PIPELOCK_CA_KEY_IN_CONTAINER, # type: ignore
|
PIPELOCK_CA_KEY_IN_CONTAINER,
|
||||||
pipelock_tls_init,
|
|
||||||
)
|
)
|
||||||
|
from bot_bottle.backend.docker.pipelock import pipelock_tls_init
|
||||||
from bot_bottle.pipelock import PipelockProxy
|
from bot_bottle.pipelock import PipelockProxy
|
||||||
from bot_bottle.backend.docker.pipelock_apply import (
|
from bot_bottle.backend.docker.pipelock_apply import (
|
||||||
PipelockApplyError,
|
PipelockApplyError,
|
||||||
|
|||||||
Reference in New Issue
Block a user