]> git.ipfire.org Git - people/ms/u-boot.git/commit
tests: py: dfu: Add variables to store dfu alt numbers for test and dummy files
authorLukasz Majewski <l.majewski@samsung.com>
Wed, 20 Apr 2016 08:36:32 +0000 (10:36 +0200)
committerMarek Vasut <marex@denx.de>
Mon, 25 Apr 2016 15:56:29 +0000 (17:56 +0200)
commitc6eb899c4d0f8311f8a9d6c991344a27b8f9d4db
tree056f5a5496c270fc835145ad6f462f571cd30f31
parent65341967ce9ef2656c61dcd3126536e8865c349d
tests: py: dfu: Add variables to store dfu alt numbers for test and dummy files

This patch replaces hardcoded (i.e. 0 and 1) values passed to dfu_{read|write}
with variables.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
---
Changes for v3:
- Replace per module global variables with ones defined inside a function
Changes for v2:
- None
test/py/tests/test_dfu.py