def METHOD_NAME(self):
    # Get Calico CNI pod status
    output = subprocess.check_output(
        ["microk8s", "kubectl", "get", "pods", "-n", "kube-system"]
    )
    # Split the output into lines and skip the header
    lines = output.decode("utf-8").split("\n")[1:]
    # Iterate through the lines to check the Calico CNI pod status
    for line in lines:
        # Split the line by whitespace
        parts = line.split()
        # Check if the pod is related to Calico CNI and not in the "Running" state
        if len(parts) >= 4 and parts[0].startswith("calico") and parts[2] != "Running":
            # If any Calico CNI pod is not in the "Running" state, fail the test
            assert False, f"Calico CNI pod {parts[0]} is not running"