mirror of
https://github.com/meshtastic/python.git
synced 2026-04-30 03:46:38 -04:00
remove "Request Settings" during init, team settings and deprecated settings.
This commit is contained in:
@@ -164,19 +164,6 @@ from ..channel_pb2 import Channel
|
||||
# assert err == ''
|
||||
|
||||
|
||||
# TODO
|
||||
#@pytest.mark.unit
|
||||
#def test_setOwner_and_team(caplog):
|
||||
# """Test setOwner"""
|
||||
# anode = Node('foo', 'bar', noProto=True)
|
||||
# with caplog.at_level(logging.DEBUG):
|
||||
# anode.setOwner(long_name ='Test123', short_name='123', team=1)
|
||||
# assert re.search(r'p.set_owner.long_name:Test123:', caplog.text, re.MULTILINE)
|
||||
# assert re.search(r'p.set_owner.short_name:123:', caplog.text, re.MULTILINE)
|
||||
# assert re.search(r'p.set_owner.is_licensed:False', caplog.text, re.MULTILINE)
|
||||
# assert re.search(r'p.set_owner.team:1', caplog.text, re.MULTILINE)
|
||||
|
||||
|
||||
# TODO
|
||||
#@pytest.mark.unit
|
||||
#def test_setOwnerShort(caplog):
|
||||
@@ -197,7 +184,6 @@ from ..channel_pb2 import Channel
|
||||
# assert re.search(r'p.set_owner.long_name:Test123:', caplog.text, re.MULTILINE)
|
||||
# assert re.search(r'p.set_owner.short_name:Tst:', caplog.text, re.MULTILINE)
|
||||
# assert re.search(r'p.set_owner.is_licensed:False', caplog.text, re.MULTILINE)
|
||||
# assert re.search(r'p.set_owner.team:0', caplog.text, re.MULTILINE)
|
||||
|
||||
|
||||
# TODO
|
||||
@@ -210,7 +196,6 @@ from ..channel_pb2 import Channel
|
||||
# assert re.search(r'p.set_owner.long_name:Tnt:', caplog.text, re.MULTILINE)
|
||||
# assert re.search(r'p.set_owner.short_name:Tnt:', caplog.text, re.MULTILINE)
|
||||
# assert re.search(r'p.set_owner.is_licensed:False', caplog.text, re.MULTILINE)
|
||||
# assert re.search(r'p.set_owner.team:0', caplog.text, re.MULTILINE)
|
||||
|
||||
|
||||
# TODO
|
||||
@@ -223,7 +208,6 @@ from ..channel_pb2 import Channel
|
||||
# assert re.search(r'p.set_owner.long_name:A B C:', caplog.text, re.MULTILINE)
|
||||
# assert re.search(r'p.set_owner.short_name:ABC:', caplog.text, re.MULTILINE)
|
||||
# assert re.search(r'p.set_owner.is_licensed:True', caplog.text, re.MULTILINE)
|
||||
# assert re.search(r'p.set_owner.team:0', caplog.text, re.MULTILINE)
|
||||
|
||||
|
||||
# TODO
|
||||
|
||||
Reference in New Issue
Block a user