Compare commits
1 commit
8dad72a00d
...
102c8eac91
| Author | SHA1 | Date | |
|---|---|---|---|
| 102c8eac91 |
1 changed files with 9 additions and 1 deletions
|
|
@ -66,7 +66,15 @@ def _wire(monkeypatch, *, pair="ok"):
|
||||||
async def fake_owned(machine_id, user_id):
|
async def fake_owned(machine_id, user_id):
|
||||||
return _machine()
|
return _machine()
|
||||||
|
|
||||||
async def fake_pair(machine, *, relays, admin_client, duration_hours=None):
|
async def fake_pair(
|
||||||
|
machine,
|
||||||
|
*,
|
||||||
|
relays,
|
||||||
|
admin_client,
|
||||||
|
bunker_relay=None,
|
||||||
|
keystore_passphrase=None,
|
||||||
|
duration_hours=None,
|
||||||
|
):
|
||||||
if pair == "error":
|
if pair == "error":
|
||||||
raise PairingError("boom")
|
raise PairingError("boom")
|
||||||
return _result()
|
return _result()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue