Skip to content

Commit 2f7f8f0

Browse files
committed
test: fix eval error
1 parent 164752b commit 2f7f8f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

testinfra/test_ami_nix.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from ec2instanceconnectcli.EC2InstanceConnectLogger import EC2InstanceConnectLogger
1111
from ec2instanceconnectcli.EC2InstanceConnectKey import EC2InstanceConnectKey
1212
from time import sleep
13+
from typing import Tuple, Dict
1314

1415
# if GITHUB_RUN_ID is not set, use a default value that includes the user and hostname
1516
RUN_ID = os.environ.get(
@@ -323,7 +324,7 @@ def run_detailed_checks(host):
323324
result = host.run("sudo -u postgres env | grep POSTGRES")
324325
logger.info(f"postgres environment:\n{result.stdout}\n{result.stderr}")
325326

326-
def is_healthy(host, instance_ip, ssh_identity_file) -> tuple[bool, dict]:
327+
def is_healthy(host, instance_ip, ssh_identity_file) -> Tuple[bool, Dict[str, bool]]:
327328
service_status = {} # Track status of each service
328329

329330
health_checks = [

0 commit comments

Comments
 (0)