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
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
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
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
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
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
4b6d7a8587
Support setting nodes ignored in nodedb (with 2.5.13+ firmware)
2024-12-21 13:46:17 -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
Kevin Hester
88b73611f0
Move protobufs to meshtastic.protobuf python namespace
2024-06-26 10:05:59 -07:00
Ian McEwen
e27d210a71
Test with --dest on setlat/remove-position for the error/exit case
2024-06-05 19:57:40 -07:00
Ian McEwen
16c08b8b47
Add simple --remove-position test
2024-06-05 19:54:12 -07:00
Ian McEwen
1746ad15d7
Use new fixed position admin messages and add --remove-position argument. Fixes #525
2024-05-31 18:44:33 -07:00
Steve Holden
a07e853f69
Refactor to remove pylint issues.
...
Since one of pylint's complains was that the globals module was
shadowing the built-in, and since the name `config` was already
is use in several modules, globals.py was renamed as mt_config.py.
All tests now pass, and the only remaining local pylint errors
relate to the protobuf code, I'm hoping this will make the PR
valid.
2024-04-10 17:42:44 +01:00
Steve Holden
067cddd354
Refactor to avoid the use of a special global object.
...
The global object formerly used is now replaced by direct use
of the namespace opf the globals module. This eliminates the
redundant getters and setters and simplifies the code for
future maintainers.
Note that the globals module name conflicts (harmlessly at
present) with a Python built-in function. A future commit
should rename it `config` to remove this clash and better
represent its intended purpose.
2024-04-10 10:03:12 +01:00
Ian McEwen
daa5587443
re-fix pylint
2024-03-23 22:17:49 -07:00
Ian McEwen
a139d180b8
Fix up or comment out broken tests, to get CI (hopefully) happy
2024-03-23 22:07:17 -07:00
Ian McEwen
09f8405422
Remove --sendping as REPLY_APP portnum is disabled in firmware now
2024-03-23 21:25:38 -07:00
Ian McEwen
b8640666d7
Fix some outstanding pylint issues (or disable the checks)
2024-03-19 12:47:08 -07:00
Ben Meadors
67636c4ce2
Revert "Move pb2 Files to Own Folder"
2024-03-11 12:18:25 -05:00
foglet15
df8ea85873
change to PbDefinitions for clearer naming
2024-02-25 14:22:15 -05:00
foglet15
10c2e753f5
fix tests imports, add sed for fixing pb2 imports
2024-02-25 14:16:31 -05:00
Wolfgang Nagele
0a8a193081
BLE Support
2024-01-15 21:33:53 +01:00
Thomas Göttgens
7e6f13f0a2
establish trunk format
2023-03-31 20:09:59 +02:00
Thomas Göttgens
682fdb7ef4
Remove test for deprecated option
2022-06-17 10:57:39 +02:00
Thomas Göttgens
c55b1188e8
remove "Request Settings" during init, team settings and deprecated settings.
2022-06-17 10:40:40 +02:00
Mike Kinney
89b0426a2b
fix warnings now that tests have been commented out
2022-06-16 19:26:52 -07:00
Mike Kinney
e1f1cab5a5
comment out failing tests (for now)
2022-06-16 19:22:13 -07:00
Mike Kinney
132fb4fe5f
get pylint to pass
2022-06-16 19:13:18 -07:00
Ben Meadors
b79b7ceb40
Correct config
2022-06-16 20:31:14 -05:00
Mike Kinney
3d9a55add3
regen code from updated protobufs
2022-03-30 11:32:47 -07:00
Mike Kinney
af7bf7ff7f
add wifi min length check
2022-03-21 10:48:27 -07:00
Mike Kinney
bcf00a1f8d
handle ignore_incoming repeated field
2022-03-03 17:11:22 -08:00
Mike Kinney
58de84945f
change version per pypi reqs
2022-03-02 11:39:07 -08:00
Mike Kinney
68530f6e11
change medium to mid
2022-03-02 11:29:38 -08:00
Mike Kinney
fd752bedc5
change version format
2022-03-02 11:24:13 -08:00