Commit Graph
32 Commits
Author SHA1 Message Date
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 994b31c688 add more tests 2021-12-08 14:33:12 -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
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 51cbc307e5 got smoke tests passing 2021-12-07 00:36:45 -08:00
Mike Kinney c5500291ce minor fixes 2021-12-06 23:36:03 -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
Mike Kinney b40eb08c5c refactor classes into respective files 2021-12-06 22:19:26 -08:00
Mike Kinney 5883a28690 migrate to a test__init__ file 2021-12-06 21:07:40 -08:00
Mike Kinney cc9b6cd7b1 test MeshInterface 2021-12-06 21:01:21 -08:00
Mike Kinney 516082e2d3 add smoke test for configure via yaml file 2021-12-06 14:23:02 -08:00
Mike Kinney f8ab4ffcfe add more smoke1 tests: debug, team, ch-longslow, ch-shortfast, ch-add, ch-del, ch-index 2021-12-03 11:38:50 -08:00
Mike Kinney 7dd67bb4b4 add qr, port, nodes and seriallog testing 2021-12-03 10:34:00 -08:00
Mike Kinney 82ae2c8e43 added smoke tests on one device 2021-12-03 09:50:48 -08:00
Mike Kinney e53fe421e8 ignore vi swap files 2021-12-01 09:34:10 -08:00
Mike Kinney 4def643803 break out unit tests so there is one assert per test 2021-12-01 00:24:53 -08:00
Mike Kinney 0473820ef4 add simple unit test 2021-12-01 00:13:57 -08:00