Mike Kinney
|
2fcfdeb04f
|
minor formatting; added unit tests for Node()
|
2021-12-16 09:10:45 -08:00 |
|
Mike Kinney
|
34789899d8
|
add main unit test for --ble and --host; add test for --sendtext with --dest
|
2021-12-15 21:59:41 -08:00 |
|
Mike Kinney
|
6239585bf2
|
add main unit test for onReceive() and onConnection()
|
2021-12-15 21:46:40 -08:00 |
|
Mike Kinney
|
ef9a97d1f7
|
initial test_ble_interface; add another unit test
|
2021-12-15 16:15:46 -08:00 |
|
Mike Kinney
|
712f1f5288
|
add main unit test --noproto, --seriallog, and a deprecated arg
|
2021-12-15 14:44:28 -08:00 |
|
Mike Kinney
|
5e1e968ccd
|
add main unit test for --get
|
2021-12-15 14:21:37 -08:00 |
|
Mike Kinney
|
dae1f08632
|
remove lines that are not needed
|
2021-12-15 13:46:36 -08:00 |
|
Mike Kinney
|
d44e06420a
|
add couple more tests for --pos-fields
|
2021-12-15 13:41:28 -08:00 |
|
Mike Kinney
|
8927fdcd1e
|
figured out how to test --pos-fields
|
2021-12-15 12:54:59 -08:00 |
|
Mike Kinney
|
a248807165
|
remove print statements that were helpful during dev
|
2021-12-13 00:00:04 -08:00 |
|
Mike Kinney
|
0475fc9895
|
add main unit tests for all of the range settings like --ch-longslow
|
2021-12-12 21:06:50 -08:00 |
|
Mike Kinney
|
26b82303f8
|
refactor global_reset() to fixture
|
2021-12-12 20:30:40 -08:00 |
|
Mike Kinney
|
b4a4fed8d6
|
add unit tests for --ch-del
|
2021-12-12 20:03:43 -08:00 |
|
Mike Kinney
|
ed0bf6df4a
|
add main unit tests for --ch-add
|
2021-12-12 19:52:36 -08:00 |
|
Mike Kinney
|
2f8f928465
|
add main unit test for --configure
|
2021-12-12 19:14:51 -08:00 |
|
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 |
|