Commit Graph

560 Commits

Author SHA1 Message Date
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
mkinney
8d45c60811 Merge pull request #156 from mkinney/testing_more_stuffs
Testing more stuffs
2021-12-10 10:40:17 -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
mkinney
0554872424 Merge pull request #154 from mkinney/work_on_unit_tests2
Work on unit tests2
2021-12-10 09:37:32 -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
mkinney
7ea6a85c31 Merge pull request #153 from mkinney/even_more_unit_tests
Even more unit tests
2021-12-09 16:33:30 -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
mkinney
6b85611067 Merge pull request #152 from mkinney/more_unit_testing
More unit testing
2021-12-09 12:39:08 -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
Jm Casler
c6409a699e updating proto submodule to latest 2021-12-09 11:23:26 -08:00
mkinney
8028e596bb Merge pull request #151 from mkinney/work_on_unit_tests
Work on unit tests
2021-12-09 09:18:43 -08:00
Mike Kinney
089d64105e fail build if pylint has issues 2021-12-09 09:14:38 -08:00
Mike Kinney
ddd34bfb6a ignore the test dir from code coverage 2021-12-09 01:08:54 -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
Jm Casler
66d0dc48e0 updating proto submodule to latest 2021-12-08 23:15:10 -08:00
Jm Casler
e8fd40e145 updating proto submodule to latest 2021-12-08 18:36:44 -08:00
Jm Casler
a910499ae3 updating proto submodule to latest 2021-12-08 17:36:05 -08:00
mkinney
6c4bb4f7d2 Merge pull request #150 from mkinney/more_work_on_tests
More work on tests
2021-12-08 15:44:29 -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
mkinney
6fffdbbc27 Merge pull request #147 from mkinney/improve_warnings_and_exits
improve the error messages; change from exceptions where it makes sense
2021-12-07 14:32:28 -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
mkinney
2ee59c1e21 Merge pull request #145 from mkinney/add_support_option
Add support option
2021-12-07 13:37:35 -08:00
Jm Casler
c9d0b06e3c Merge branch 'master' of https://github.com/meshtastic/Meshtastic-python 2021-12-07 13:06:51 -08:00
Jm Casler
1d12d21e19 updating proto submodule to latest 2021-12-07 13:06:33 -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
Jm Casler
068b902f12 Merge pull request #144 from mkinney/minor_fixes
Minor fixes
2021-12-07 08:53:26 -08:00
Mike Kinney
bd037299b2 remove extra print statements 2021-12-07 08:45:33 -08:00
Mike Kinney
ec311216db fix formatting for running tests 2021-12-07 08:44:36 -08:00