Skip to content

Commit

Permalink
Fix scenario test
Browse files Browse the repository at this point in the history
Signed-off-by: jamshale <jamiehalebc@gmail.com>
  • Loading branch information
jamshale committed Nov 17, 2024
1 parent 8cb08b9 commit 7b61f92
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scenarios/examples/anoncreds_issuance_and_revocation/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

ALICE = getenv("ALICE", "http://alice:3001")
BOB = getenv("BOB", "http://bob:3001")
INDY = getenv("OLD", "http://indy:3001")
INDY = getenv("INDY", "http://indy:3001")


def summary(presentation: V20PresExRecord) -> str:
Expand Down Expand Up @@ -361,7 +361,9 @@ async def anoncreds_present_proof_v2(

async def main():
"""Test Controller protocols."""
async with Controller(base_url=ALICE) as alice, Controller(base_url=BOB) as bob:
async with Controller(base_url=ALICE) as alice, Controller(
base_url=BOB
) as bob, Controller(base_url=INDY) as indy:
# Connecting
alice_conn, bob_conn = await didexchange(alice, bob)

Expand Down Expand Up @@ -476,8 +478,8 @@ async def main():
],
)

# Test a non-anoncreds agent using old indy format
async with Controller(base_url=ALICE) as alice, Controller(base_url=INDY) as indy:
# Test a non-anoncreds agent using old indy format

# Connecting
alice_conn, indy_conn = await didexchange(alice, indy)

Expand Down

0 comments on commit 7b61f92

Please sign in to comment.