Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes typos #87

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/signify/app/credentialing.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def admit(self, hab, message, grant, dt=None):
m=message,
)

grant, gsigs, end = exchanges.createExchangeMessage(sender=hab, route="/ipex/admit",
admit, asigs, end = exchanges.createExchangeMessage(sender=hab, route="/ipex/admit",
payload=data, embeds=None, dt=dt, dig=grant.said)

return grant, gsigs, end
return admit, asigs, end
4 changes: 2 additions & 2 deletions tests/app/test_credentialing.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def test_ipex_grant():
unstub()


def test_ipex_admin():
def test_ipex_admit():
from signify.app.clienting import SignifyClient
mock_client = mock(spec=SignifyClient, strict=True)

Expand All @@ -207,7 +207,7 @@ def test_ipex_admin():
mock_gsigs,
mock_end))

ipex = credentialing.Ipex(mock_client)
ipex = credentialing.Ipex(mock_client) # type: ignore
grant, gsigs, end = ipex.admit(hab=mock_hab, message="this is a test", dt=dt, grant=grant)

assert grant == mock_admit
Expand Down
Loading