mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-08-06 17:03:32 +02:00
feat: add region/default-scope / cli commands update
standardize default region on mesh.default_region (remove legacy region_default_scope usage) add/align CLI support for owner.info, path.hash.mode, and loop.detect with validation wire UI terminal get/set + autocomplete/help for owner.info, path.hash.mode, loop.detect extend update_radio_config to persist owner_info for UI set owner.info add and use shared packet utility for advert creation + default-region transport scoping refactor repeater and room-server advert paths to reuse shared packet logic
This commit is contained in:
@@ -312,6 +312,7 @@ def test_text_helper_cli_prefix_and_admin_permission_checks():
|
||||
|
||||
assert helper._is_cli_command("get status") is True
|
||||
assert helper._is_cli_command("99|get status") is True
|
||||
assert helper._is_cli_command("04|discover.neighbors") is True
|
||||
assert helper._is_cli_command("hello world") is False
|
||||
|
||||
assert helper._check_admin_permission_for_identity(0x21, 0x41) is True
|
||||
|
||||
Reference in New Issue
Block a user