Skip to content

Commit

Permalink
core: services: ardupilot_manager: firmware: test: Update number of f…
Browse files Browse the repository at this point in the history
…irmwares

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Mar 4, 2024
1 parent e7e512f commit 7bf9098
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 7bf9098

Please sign in to comment.