feat: add disable_device_pairing parameter to agent configuration
This commit is contained in:
@@ -51,6 +51,7 @@ class _GatewayStub:
|
|||||||
url: str
|
url: str
|
||||||
token: str | None
|
token: str | None
|
||||||
workspace_root: str
|
workspace_root: str
|
||||||
|
disable_device_pairing: bool = False
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ class _GatewayStub:
|
|||||||
url: str
|
url: str
|
||||||
token: str | None
|
token: str | None
|
||||||
workspace_root: str
|
workspace_root: str
|
||||||
|
disable_device_pairing: bool = False
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
|
|||||||
@@ -119,6 +119,7 @@ class _GatewayStub:
|
|||||||
url: str
|
url: str
|
||||||
token: str | None
|
token: str | None
|
||||||
workspace_root: str
|
workspace_root: str
|
||||||
|
disable_device_pairing: bool = False
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.asyncio
|
@pytest.mark.asyncio
|
||||||
@@ -229,6 +230,7 @@ async def test_provision_overwrites_user_md_on_first_provision(monkeypatch):
|
|||||||
url: str
|
url: str
|
||||||
token: str | None
|
token: str | None
|
||||||
workspace_root: str
|
workspace_root: str
|
||||||
|
disable_device_pairing: bool = False
|
||||||
|
|
||||||
class _Manager(agent_provisioning.BaseAgentLifecycleManager):
|
class _Manager(agent_provisioning.BaseAgentLifecycleManager):
|
||||||
def _agent_id(self, agent):
|
def _agent_id(self, agent):
|
||||||
@@ -296,6 +298,7 @@ async def test_set_agent_files_update_preserves_user_md_even_when_size_zero():
|
|||||||
url: str
|
url: str
|
||||||
token: str | None
|
token: str | None
|
||||||
workspace_root: str
|
workspace_root: str
|
||||||
|
disable_device_pairing: bool = False
|
||||||
|
|
||||||
class _Manager(agent_provisioning.BaseAgentLifecycleManager):
|
class _Manager(agent_provisioning.BaseAgentLifecycleManager):
|
||||||
def _agent_id(self, agent):
|
def _agent_id(self, agent):
|
||||||
|
|||||||
Reference in New Issue
Block a user