Skip to content

Commit

Permalink
test: Fix unit-test for download-only
Browse files Browse the repository at this point in the history
According the the Hawkbit unit-tests, download-only deployment expects
the status "retrieved"

Signed-off-by: Vyacheslav Yurkov <[email protected]>
  • Loading branch information
UVV-gh committed Jul 10, 2023
1 parent c5e2091 commit d7af1af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def test_download_only(hawkbit, config, assign_bundle):
assert exitcode == 0

status = hawkbit.get_action_status()
assert any(['download' in s['type'] for s in status])
assert status[0]['type'] == 'downloaded'

# check last status message
assert 'File checksum OK.' in status[0]['messages']

0 comments on commit d7af1af

Please sign in to comment.