Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: services: ardupilot_manager: firmware: test: Update number of firmwares #2425

Merged
merged 1 commit into from Mar 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -27,7 +27,8 @@ def test_firmware_download() -> None:
versions = firmware_download._find_version_item(
vehicletype="Sub", mav_firmware_version_type="STABLE-4.0.1", platform=Platform.Pixhawk1
)
assert len(versions) == 3, "Failed to find multiple versions."
# There are two versions, one for the firmware and one with the bootloader
assert len(versions) == 2, "Failed to find multiple versions."

available_versions = firmware_download.get_available_versions(Vehicle.Sub, Platform.Pixhawk1)
assert len(available_versions) == len(set(available_versions)), "Available versions are not unique."
Expand Down