Mike Kinney
|
52db617b06
|
refactor code to only call local node when necessary; fix tests
|
2022-01-10 16:20:11 -08:00 |
|
Mike Kinney
|
8ca692a26e
|
cannot call os.getlogin() on github instances
|
2022-01-06 12:33:30 -08:00 |
|
Mike Kinney
|
d1ea68d7dc
|
add code coverage to recently added code
|
2022-01-06 12:17:42 -08:00 |
|
Mike Kinney
|
b56440a4e8
|
should not need to talk with remote node if just doing sendtext
|
2022-01-06 11:55:36 -08:00 |
|
Mike Kinney
|
0b6676c5b3
|
do not print line for export; comment out ble test; do not send decoded
|
2022-01-01 09:49:21 -08:00 |
|
Mike Kinney
|
4ee647403b
|
fix output on tests using pytest -s option; fixed some tests
|
2021-12-31 10:55:13 -08:00 |
|
Mike Kinney
|
aba303c677
|
figured out issue; had device connected to serial port; needed to patch; fixed tunnel test in main
|
2021-12-31 09:28:17 -08:00 |
|
Mike Kinney
|
43d59ca8d8
|
temp comment out tests that pass locally but not when run from CI
|
2021-12-31 08:53:17 -08:00 |
|
Mike Kinney
|
177705aeff
|
revert the stream interface change; fix tunnel tests
|
2021-12-31 08:49:13 -08:00 |
|
Mike Kinney
|
3f307880f9
|
add unit tests for tunnel and subnet
|
2021-12-30 20:04:32 -08:00 |
|
Mike Kinney
|
50523ec1b1
|
start to add unit tests for tunnel
|
2021-12-30 19:37:38 -08:00 |
|
Mike Kinney
|
f5eb8738fb
|
added unit tests for --ch-set and onNode()
|
2021-12-30 12:20:24 -08:00 |
|
Mike Kinney
|
14941c742a
|
add more tests; do not need the old --reply test
|
2021-12-30 11:28:03 -08:00 |
|
Mike Kinney
|
1a5f525632
|
need to comment out unittest with change to --reply
|
2021-12-30 07:49:34 -08:00 |
|
linagee
|
4575c58b97
|
Ham, not HAM
Discovered in 1ffa55d39a
|
2021-12-27 21:07:17 -07:00 |
|
Mike Kinney
|
e1f0c7f154
|
add tests for setPref()
|
2021-12-24 14:56:15 -08:00 |
|
Mike Kinney
|
7ef6465b5f
|
add some tests for getPref()
|
2021-12-24 14:42:39 -08:00 |
|
Mike Kinney
|
87b95c5893
|
add more unit tests for onReceive in main
|
2021-12-24 13:48:10 -08:00 |
|
Mike Kinney
|
fee052892b
|
got gpio read to work and one unit test
|
2021-12-23 14:35:48 -08:00 |
|
Mike Kinney
|
a56a92b166
|
needed to do some actual testing to see error in code
|
2021-12-23 09:30:23 -08:00 |
|
Mike Kinney
|
276b2762c8
|
add more info/checking on --sendtext and --ch-index; wrote helper method and tests
|
2021-12-23 00:03:32 -08:00 |
|
Mike Kinney
|
4597ea1898
|
add channel index to send text
|
2021-12-20 14:00:56 -08:00 |
|
Mike Kinney
|
c63dc09e5d
|
rename to --export-config
|
2021-12-17 12:47:27 -08:00 |
|
Mike Kinney
|
b47393d62d
|
refactor and write unit test
|
2021-12-17 10:55:51 -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
|
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
|
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
|
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
|
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 |
|