Skip to content

Commit

Permalink
iot2050-firmware-update: Add unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Li Hua Qian <[email protected]>
  • Loading branch information
huaqianli committed May 21, 2024
1 parent 7768033 commit 4d918f6
Show file tree
Hide file tree
Showing 3 changed files with 815 additions and 0 deletions.
14 changes: 14 additions & 0 deletions recipes-app/iot2050-firmware-update/files/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Files for Firmware Update Tool

- `iot2050-firmware-update.tmpl`: Firmware Update Tool source code
- `iot2050_firmware_update.py`: A link to iot2050-firmware-update.tmpl, which is
used by unittest
- `test_iot2050_firmware_update.py`: The unit test file
- `update.conf.json.tmpl`: Maintaining firmware version and checksum for firmware
validation

# How to run the unittest?

```py
python3 -m unittest test_iot2050_firmware_update.py
```
Loading

0 comments on commit 4d918f6

Please sign in to comment.