diff options
author | Hector Fernandez <hector@iatec.biz> | 2020-03-10 17:37:16 +0100 |
---|---|---|
committer | Hector Fernandez <hector@iatec.biz> | 2020-03-11 10:15:20 +0100 |
commit | 41ffba6a76a80a7ef4553cb8856393dd209d172e (patch) | |
tree | f8ad8a10870ff4b489eb35f04eef643191a7a705 /test-cli/test/flashers/flasher.py | |
parent | d38c92bfd7b6abe3a52b51b87b1a2949b857d9b4 (diff) | |
download | board-41ffba6a76a80a7ef4553cb8856393dd209d172e.zip board-41ffba6a76a80a7ef4553cb8856393dd209d172e.tar.gz board-41ffba6a76a80a7ef4553cb8856393dd209d172e.tar.bz2 |
First release of the test. All the tests work correctly for SOPA0000.
Diffstat (limited to 'test-cli/test/flashers/flasher.py')
-rw-r--r-- | test-cli/test/flashers/flasher.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test-cli/test/flashers/flasher.py b/test-cli/test/flashers/flasher.py new file mode 100644 index 0000000..d962fca --- /dev/null +++ b/test-cli/test/flashers/flasher.py @@ -0,0 +1,10 @@ +from test.flashers.flasher_sopa0000 import flash_sopa0000 + + +def flash(modelid): + result = None + + if modelid.find("SOPA0000") == 0: + result = flash_sopa0000() + + return result |