Skip to content

Commit

Permalink
tests: Update sha test
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Aug 27, 2021
1 parent 8bca59b commit f715d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async def dispatch():

assert(response["version"] >= 0), "Info version is invalid."
assert(response["service"]["name"] == "mavlink2rest"), "Invalid service name."
assert(len(response["service"]["sha"]) == 7), "Invalid sha length."
assert(len(response["service"]["sha"]) != 0), "Invalid sha length."

print("Test heartbeat..")
response = requests.get(f"{API}/mavlink/vehicles/1/components/1/messages/HEARTBEAT").json()
Expand Down

0 comments on commit f715d4b

Please sign in to comment.