summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests/test_cli_dispatch.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-node/tests/test_cli_dispatch.py')
-rw-r--r--packages/meshbay-node/tests/test_cli_dispatch.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/meshbay-node/tests/test_cli_dispatch.py b/packages/meshbay-node/tests/test_cli_dispatch.py
index cf2fd6e..a0b2a64 100644
--- a/packages/meshbay-node/tests/test_cli_dispatch.py
+++ b/packages/meshbay-node/tests/test_cli_dispatch.py
@@ -38,6 +38,8 @@ VERBS = [
["gek-init"],
["member", "list"],
["member", "invite", "bob"],
+ ["member", "invite", "bob@example.test", "--link"],
+ ["member", "cancel", "ab" * 16],
["member", "revoke", "bob"],
["member", "unpin", "bob"],
# Removed, and it has to say so rather than offering a username for a verb
@@ -91,6 +93,7 @@ def stub_daemon(monkeypatch, tmp_path):
"groups": [], "files": [], "identities": [], "members": [],
"invites": [], "users": [], "jtis": [], "count": 0, "removed": 0,
"subject": "all", "code": "TEST-CODE", "expires_at": "",
+ "link": "https://example.invalid/#/invite?v=1", "invite_id": "ab" * 16,
"user_id": "u", "authorized_members": 0, "errors": [],
"name": "g", "group_id": "g", "shared_dir": str(tmp_path),
"config": str(tmp_path / "node.toml"),