diff --git a/Tools/autotest/vehicle_test_suite.py b/Tools/autotest/vehicle_test_suite.py index 978483c70e..d77e00ec0b 100644 --- a/Tools/autotest/vehicle_test_suite.py +++ b/Tools/autotest/vehicle_test_suite.py @@ -5279,11 +5279,12 @@ class TestSuite(ABC): ): '''returns a list of mission-item-ints from filepath''' # self.progress("filepath: %s" % filepath) - self.progress("Loading {loaderclass.itemstype()} (%s)" % os.path.basename(filepath)) wploader = loaderclass( target_system=target_system, target_component=target_component ) + itemstype = mavutil.mavlink.enums["MAV_MISSION_TYPE"][wploader.mav_mission_type()] + self.progress(f"Loading {itemstype} ({os.path.basename(filepath)}") wploader.load(filepath) return [self.wp_to_mission_item_int(x, wploader.mav_mission_type()) for x in wploader.wpoints] # noqa:502