Ian McEwen
ad04c26d13
split out constant, improve logic some, add tests for channel_hash and generate_channel_hash
2025-11-06 15:19:12 -07:00
shukari
fe093ac34b
fix errors and better linux/windows handling in tests
2025-08-21 15:56:10 +02:00
shukari
52eb112b95
new Parameter --debuglib for only meshtastic debug, more termios fixes for windows tests
...
(cherry picked from commit 4fc4d41d3d29998bb7b697bf412be5c1449ea950)
2025-08-19 11:14:38 +02:00
shukari
cbf7b9befe
pylint: test_mesh_interface.py line too long
2025-08-09 16:58:48 +02:00
shukari
4b143030d3
system independent path separators; pytest for windows fixes
2025-08-07 12:05:43 +02:00
shukari
a79e17a575
fix test_exit_with_exception test, pytest for windows
...
- test are now runable on windows, some are ignored and a fake termios for the decorators
- test_exit_with_exception with a true exception
2025-08-06 23:01:40 +02:00
Ian McEwen
c60b5d4b05
Add some extra fields that now appear in MyNodeInfo to tests
2025-08-01 15:53:13 -07:00
pdxlocations
0261313fc5
add test
2025-07-27 12:10:05 -07:00
Ian McEwen
fcdd83838b
Merge pull request #795 from pdxlocations/canned-config
...
Add Ringtone and Canned Messages to --export-config and --configure
2025-07-22 17:22:11 -07:00
Ian McEwen
58967e1d91
Merge pull request #794 from pdxlocations/is-unmessageable
...
add --set-is-unmessageable to CLI commands
2025-07-22 17:07:50 -07:00
pdxlocations
ce7c61861f
Merge branch 'master' into is-unmessageable
2025-07-22 10:15:19 -07:00
pdxlocations
58fc614fb7
fix test
2025-06-30 00:12:42 -07:00
pdxlocations
68a2009e0e
add more tests
2025-06-24 11:47:33 -07:00
pdxlocations
c76e4dac87
undo comment
2025-06-24 11:17:01 -07:00
pdxlocations
428be9fbce
add mesh_interface tests
2025-06-24 11:16:23 -07:00
pdxlocations
eb453a2e8a
add to tests
2025-06-24 08:16:45 -07:00
pdxlocations
373b8a3139
combine with set_owner handling
2025-06-23 16:14:59 -07:00
pdxlocations
51b543ff40
add tests
2025-06-21 18:16:24 -07:00
Crank-Git
8a6ee5fb35
fixed assertion errors by replace ham id with ham radio callsign, fixed _sendAdmin assertion
2025-06-08 20:39:26 -04:00
Crank-Git
aa786c7ebd
Fix linting errors and duplicate function
2025-06-08 19:51:21 -04:00
Crank-Git
23be2d2189
Add validation/prevent --set-owner, --set-owner-short, and --set-ham from accepting empty or whitespace-only names. This is in relation to meshtastic#6867 firmware feature request https://github.com/meshtastic/firmware/issues/6867
2025-06-08 18:16:49 -04:00
Chris Danis
b42d33824a
Fix pytest test collection on default install
...
As is, with a default `poetry install`, a simple `poetry pytest run`
will encouter import errors while reading the test files themselves --
which causes pytest to fatally error during test collection, meaning no
tests are run.
2025-03-07 13:16:20 -05:00
Ian McEwen
f41ef042a9
Merge pull request #708 from mikeymakesit/add-channel
...
Add new channels from an add URL with the new --ch-add-url option
2025-02-19 10:18:09 -07:00
Ian McEwen
84bec5a7c4
fix up misc. lint/type/test issues, streamline, align argument names and groupings
2025-02-19 10:15:27 -07:00
Ian McEwen
985366c812
Merge pull request #710 from digitaldisarray/master
...
Add text message port cli option
2025-02-19 09:55:01 -07:00
Ian McEwen
3954fbd404
fix misc lint, test, type complaints from CI
2025-02-19 09:52:16 -07:00
Ian McEwen
dd8803793d
fix test mock
2025-02-19 09:21:51 -07:00
Ian McEwen
6bab385380
Tweak error messaging in the onReceive function for sendtext packets
2024-12-27 10:04:36 -07:00
Ian McEwen
afd071c24e
Fix windows-11 detection for non-float platform.release() values ( fixes #639 )
2024-12-21 14:17:41 -07:00
Ian McEwen
4b6d7a8587
Support setting nodes ignored in nodedb (with 2.5.13+ firmware)
2024-12-21 13:46:17 -07:00
Ian McEwen
df191e149b
Merge pull request #713 from esev/favorite
...
Support setting/removing nodes as favorites
2024-12-20 22:36:23 -07:00
Ian McEwen
f6f8ccfcbc
Fix message_to_json_shows_all test for added MyNodeInfo fields
2024-12-20 13:51:27 -07:00
Eric Severance
18ac0d6d5c
Support setting/removing nodes as favorites
2024-12-17 17:38:51 -08:00
Ian McEwen
0523d4c94f
disable R0917 pylint failures
2024-10-12 12:49:14 -07:00
DJ Holt
40353a387e
Fix tests for remote position configs
2024-09-19 03:31:01 -06:00
Ian McEwen
4fdbcb9679
Fix test_fuzz_fromStr for floats
2024-09-17 21:10:57 -07:00
Derek Arnold
2026212a00
please pylint with a docstring and newline
2024-09-15 16:27:40 -05:00
Derek Arnold
34f9be255e
fix unrelated bug when fromStr input is short hex
...
For example, 0x0 will generate an unhandled ValueError. This was caught
during a random unit test run for 3.9, so I figure I'd fix it.
This is unrelated to the PR otherwise.
2024-09-15 16:20:50 -05:00
Derek Arnold
e561222ea7
add docstrings
2024-09-15 16:06:44 -05:00
Derek Arnold
73a1bbc7d5
add test coverage for changes to requestChannels
2024-09-15 16:02:59 -05:00
Derek Arnold
62f5201a38
Add test covering retry logic
2024-09-15 12:04:22 -05:00
Derek Arnold
aa74db46cb
update message check in test to reflect new message
2024-09-15 11:59:03 -05:00
Ian McEwen
399dd477b8
Merge branch 'master' into 2.5
2024-09-05 14:00:35 -07:00
Jonathan Bennett
5c312bedc1
Remove assert from test, due to removed position time
2024-08-30 01:15:40 -05:00
Ian McEwen
84dff75399
allow for underscore-only stuff in camel_to_snake, silly as that is
2024-08-24 23:38:48 -07:00
Ian McEwen
df12b8a659
appease the pylint beast
2024-08-24 23:34:28 -07:00
Ian McEwen
eedf42b904
add more fuzzing tests for utility functions
2024-08-24 22:25:18 -07:00
Ian McEwen
e7ed254d9d
appease pylint, tests, mypy
2024-08-24 22:00:29 -07:00
Kevin Hester
8096d10276
Do code coverage testing on analysis (using stored device data)
2024-08-01 10:07:48 -07:00
Kevin Hester
bf71e09091
get test coverage on powermon and slog stuff
2024-07-31 15:46:37 -07:00