test(orchestrator): satisfy config store type checking
test / integration-docker (pull_request) Successful in 19s
tracker-policy-pr / check-pr (pull_request) Successful in 21s
test / unit (pull_request) Successful in 45s
lint / lint (push) Successful in 57s
test / stage-firecracker-inputs (pull_request) Successful in 3s
test / build-infra (pull_request) Successful in 3m46s
test / integration-firecracker (pull_request) Successful in 1m35s
test / coverage (pull_request) Successful in 2m13s
test / publish-infra (pull_request) Has been skipped
test / integration-docker (pull_request) Successful in 19s
tracker-policy-pr / check-pr (pull_request) Successful in 21s
test / unit (pull_request) Successful in 45s
lint / lint (push) Successful in 57s
test / stage-firecracker-inputs (pull_request) Successful in 3s
test / build-infra (pull_request) Successful in 3m46s
test / integration-firecracker (pull_request) Successful in 1m35s
test / coverage (pull_request) Successful in 2m13s
test / publish-infra (pull_request) Has been skipped
This commit is contained in:
@@ -13,7 +13,7 @@ import os
|
|||||||
import tempfile
|
import tempfile
|
||||||
import unittest
|
import unittest
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from unittest.mock import patch
|
from types import ModuleType
|
||||||
|
|
||||||
from bot_bottle.orchestrator.config_store import (
|
from bot_bottle.orchestrator.config_store import (
|
||||||
DEFAULT_TEARDOWN_TIMEOUT_SECONDS,
|
DEFAULT_TEARDOWN_TIMEOUT_SECONDS,
|
||||||
@@ -120,7 +120,7 @@ class TestTeardownTimeoutResolvedBeforeRegistration(unittest.TestCase):
|
|||||||
"""Ordering invariant: if resolve_teardown_timeout() raises, the bottle
|
"""Ordering invariant: if resolve_teardown_timeout() raises, the bottle
|
||||||
must not yet be registered — no orphaned state can result."""
|
must not yet be registered — no orphaned state can result."""
|
||||||
|
|
||||||
def _src(self, module) -> str:
|
def _src(self, module: ModuleType) -> str:
|
||||||
return inspect.getsource(module)
|
return inspect.getsource(module)
|
||||||
|
|
||||||
def test_docker_resolves_timeout_before_launch_consolidated(self) -> None:
|
def test_docker_resolves_timeout_before_launch_consolidated(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user