Mike Kinney
|
a6dbdc29c1
|
figured out how to unit test --set with invalid field
|
2021-12-12 18:14:30 -08:00 |
|
Mike Kinney
|
4e3dcb6531
|
figured out how to unit test --set
|
2021-12-12 18:01:49 -08:00 |
|
Mike Kinney
|
d2a9b87968
|
add main unit test for --seturl
|
2021-12-12 17:05:38 -08:00 |
|
Mike Kinney
|
59e14d3741
|
add main unit tests for --set-team
|
2021-12-12 14:37:41 -08:00 |
|
Mike Kinney
|
f3490f80fa
|
add tests for --setlat, --setlon, and --setalt
|
2021-12-12 14:08:09 -08:00 |
|
Mike Kinney
|
121f38a1b7
|
add unit test for --sendtext, --reboot, and --sendping
|
2021-12-12 11:03:05 -08:00 |
|
Mike Kinney
|
d2d7c9fb0e
|
add unit test for --set-owner and --set-ham; refactor setting encryption after
|
2021-12-12 10:30:28 -08:00 |
|
Mike Kinney
|
34d31711ad
|
add --qr and --nodes unit test
|
2021-12-12 09:27:51 -08:00 |
|
Mike Kinney
|
6d1121a751
|
so unit test will pass
|
2021-12-12 00:31:18 -08:00 |
|
Mike Kinney
|
0943ecab5b
|
sort possible options/tests, figured out how to mock so --info can be tested
|
2021-12-12 00:22:17 -08:00 |
|
Mike Kinney
|
3cff4e2856
|
add change as suggested by OverByThere
|
2021-12-11 17:49:09 -08:00 |
|
Mike Kinney
|
691801fca0
|
add more tests; refactor due to pylint suggestion
|
2021-12-10 20:02:01 -08:00 |
|
Mike Kinney
|
ce794ee035
|
re-worked the code for ch-set and ch-enable/ch-disable; updated tests
|
2021-12-10 19:10:09 -08:00 |
|
Mike Kinney
|
ada45ca860
|
make unit tests pass even if hardware is connected serially
|
2021-12-10 10:20:16 -08:00 |
|
Mike Kinney
|
b53521c029
|
add two more smoke1 tests
|
2021-12-10 10:17:37 -08:00 |
|
Mike Kinney
|
e414e7fb35
|
temp removed import
|
2021-12-10 09:30:50 -08:00 |
|
Mike Kinney
|
10e97ee88c
|
added --test2 unit test; wip on --info
|
2021-12-10 09:24:57 -08:00 |
|
Mike Kinney
|
80d13eac85
|
had to move test dir to tests because of pytest looking for __init__.py
|
2021-12-09 17:20:13 -08:00 |
|
Mike Kinney
|
9f7a42b059
|
clean up --test tests
|
2021-12-09 16:30:23 -08:00 |
|
Mike Kinney
|
89058799c5
|
revert --test change; move tunnel import back; add encoding info to support
|
2021-12-09 16:21:13 -08:00 |
|
Mike Kinney
|
96a5f316ea
|
refactor two more globals into Globals: channel_index and target_node
|
2021-12-09 13:41:24 -08:00 |
|
Mike Kinney
|
f587698d2a
|
move functions from main to util and add unit tests
|
2021-12-09 12:26:17 -08:00 |
|
Mike Kinney
|
54fc1a92e7
|
refactor Settings() to Globals()
|
2021-12-09 11:46:33 -08:00 |
|
Mike Kinney
|
e7991cfc00
|
refactor globals to singleton
|
2021-12-09 11:26:24 -08:00 |
|
Mike Kinney
|
7b0fed0987
|
add test with no serial ports detected and with 2 serial ports detected
|
2021-12-09 00:56:26 -08:00 |
|
Mike Kinney
|
04534bb90e
|
add initial unit test for SerialInterface
|
2021-12-09 00:44:26 -08:00 |
|
Mike Kinney
|
af6c54db08
|
change to relative importing
|
2021-12-09 00:26:28 -08:00 |
|
Mike Kinney
|
55e374c89b
|
add some tests
|
2021-12-08 23:20:20 -08:00 |
|
Mike Kinney
|
4140d20f49
|
smoke test found an error that pylint suggested a change on; so reverted the change and disabled warning
|
2021-12-08 15:23:00 -08:00 |
|
Mike Kinney
|
5f653f266c
|
fix broken tests
|
2021-12-08 15:13:14 -08:00 |
|
Mike Kinney
|
624c933dbf
|
fix (or disable) pylint warnings
|
2021-12-08 15:00:57 -08:00 |
|
Mike Kinney
|
994b31c688
|
add more tests
|
2021-12-08 14:33:12 -08:00 |
|
mkinney
|
d80212cafe
|
Merge pull request #149 from mkinney/more_testing
More testing
|
2021-12-08 13:13:23 -08:00 |
|
Mike Kinney
|
32cc2bb16d
|
add more info about running smoke tests
|
2021-12-08 13:09:13 -08:00 |
|
Mike Kinney
|
f548d99776
|
add set-ham and pos-fields tests
|
2021-12-08 13:02:29 -08:00 |
|
Mike Kinney
|
6ef6c293e4
|
add more testing
|
2021-12-08 12:17:26 -08:00 |
|
Jm Casler
|
3a583f2697
|
Updated docs & protobufs
|
2021-12-07 15:12:21 -08:00 |
|
Mike Kinney
|
c6e5c6a047
|
set team can occasionally reboot; seturl no longer fails silently
|
2021-12-07 14:28:51 -08:00 |
|
Mike Kinney
|
592be9a2a1
|
improve the error messages; change from exceptions where it makes sense
|
2021-12-07 14:19:54 -08:00 |
|
Mike Kinney
|
65826d5cc2
|
add int test for --support
|
2021-12-07 09:45:01 -08:00 |
|
Mike Kinney
|
237b750497
|
fix pylint warnings; remove old doc
|
2021-12-07 09:42:27 -08:00 |
|
Mike Kinney
|
70099cf82d
|
add --support option
|
2021-12-07 09:30:10 -08:00 |
|
Mike Kinney
|
bd037299b2
|
remove extra print statements
|
2021-12-07 08:45:33 -08:00 |
|
Mike Kinney
|
51cbc307e5
|
got smoke tests passing
|
2021-12-07 00:36:45 -08:00 |
|
Mike Kinney
|
8ee4362bd8
|
add more command line args
|
2021-12-06 23:51:05 -08:00 |
|
Mike Kinney
|
c5500291ce
|
minor fixes
|
2021-12-06 23:36:03 -08:00 |
|
Mike Kinney
|
0223b00226
|
Merge remote-tracking branch 'upstream/master' into work_on_unit_tests
|
2021-12-06 23:31:38 -08:00 |
|
Mike Kinney
|
4e79a1b3c4
|
fix empty lines
|
2021-12-06 23:31:26 -08:00 |
|
Mike Kinney
|
6d2a187d38
|
fix pylint warnings
|
2021-12-06 23:01:34 -08:00 |
|
Mike Kinney
|
b7c155e710
|
pause just a little more after each command in case a reboot
|
2021-12-06 22:47:59 -08:00 |
|