Skip to content

Commit

Permalink
test: attempt to add emit args to int tests
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
  • Loading branch information
dbluhm committed Dec 12, 2023
1 parent 07d434b commit 4d4b505
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions demo/features/0160-connection.feature
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ Feature: RFC 0160 Aries agent connection functions
| --public-did --did-exchange --wallet-type askar-anoncreds | --did-exchange --wallet-type askar-anoncreds |
| --public-did --mediation --wallet-type askar-anoncreds | --mediation --wallet-type askar-anoncreds |
| --public-did --multitenant --wallet-type askar-anoncreds | --multitenant --wallet-type askar-anoncreds |
| --public-did --did-exchange --emit-did-peer-2 | --did-exchange --emit-did-peer-2 |
17 changes: 10 additions & 7 deletions demo/features/steps/0160-connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,16 @@ def step_impl(context, n):
]
if agent_params and 0 < len(agent_params):
in_args.extend(agent_params.split(" "))
if extra_args and extra_args.get("wallet-type"):
in_args.extend(
[
"--wallet-type",
extra_args.get("wallet-type"),
]
)
if extra_args:
if extra_args.get("wallet-type"):
in_args.extend(
[
"--wallet-type",
extra_args.get("wallet-type"),
]
)
if extra_args.get("emit-did-peer-2"):
in_args.append("--emit-did-peer-2")

context.active_agents[agent_name] = {
"name": agent_name,
Expand Down

0 comments on commit 4d4b505

Please sign in to comment.