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
Mike Kinney
6f2efdcefe
got lint and pytest working
2022-03-02 10:28:07 -08:00
Balazs Kelemen
b56a054f50
Canned message - Extend messages length
2022-02-21 22:06:03 +01:00
Mike Kinney
e6fb066fe5
get last couple of lines covered in remote_hardware
2022-01-27 17:05:16 -08:00
Mike Kinney
5841979566
remove line
2022-01-27 17:00:53 -08:00
Mike Kinney
529f50edc6
remote hardware tests
2022-01-27 16:54:47 -08:00
Mike Kinney
4f72987a29
add some config tests
2022-01-23 11:22:05 -08:00
Mike Kinney
aa5af53348
add option to configure just the owner short name
2022-01-23 11:17:41 -08:00
Ben Meadors
8ceb9faf2d
Shutdown command
2022-01-21 18:11:26 -06:00
Mike Kinney
51378bb0eb
fix enum listing; add tests for pref values
2022-01-16 12:45:28 -08:00
Mike Kinney
83439679c1
looks like we needed some of that dead code after all
2022-01-15 14:15:55 -08:00
Mike Kinney
db09b4718d
add two more lines to code coverage
2022-01-15 10:21:24 -08:00
Mike Kinney
7921db007b
add some coverage to getPref() and setPref()
2022-01-15 00:01:44 -08:00
Mike Kinney
afb21c6dc3
remove code not needed
2022-01-14 20:15:25 -08:00
Mike Kinney
a7d56504be
handle snake_case or camelCase
2022-01-14 16:36:53 -08:00
Mike Kinney
0f89baa36e
fix the pylint unused-argument warnings
2022-01-12 14:41:49 -08:00
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