Skip to content

Commit

Permalink
autotest: correct python function typing bug around Dict vs dict
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker authored and tridge committed Nov 22, 2023
1 parent 61e2c5f commit 4fd54dc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tools/autotest/vehicle_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
import traceback
from datetime import datetime
from typing import List
from typing import Tuple
from typing import Dict
import importlib.util

import pexpect
Expand Down Expand Up @@ -13803,7 +13805,7 @@ def autotest(self, tests=None, allow_skips=True, step_name=None):

return len(self.fail_list) == 0

def create_junit_report(self, test_name: str, results: List[Result], skip_list: list[tuple[Test, dict[str, str]]]) -> None:
def create_junit_report(self, test_name: str, results: List[Result], skip_list: List[Tuple[Test, Dict[str, str]]]) -> None:
"""Generate Junit report from the autotest results"""
from junitparser import TestCase, TestSuite, JUnitXml, Skipped, Failure
frame = self.vehicleinfo_key()
Expand Down

0 comments on commit 4fd54dc

Please sign in to comment.