remove "Request Settings" during init, team settings and deprecated settings.

This commit is contained in:
Thomas Göttgens
2022-06-17 10:40:40 +02:00
parent d5e4eaf2d8
commit c55b1188e8
6 changed files with 2 additions and 201 deletions

View File

@@ -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