Skip to content

Commit

Permalink
fixes typos (#87)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Griffin <griffin.kev@gmail.com>
  • Loading branch information
m00sey authored Oct 25, 2023
1 parent 5bb544e commit 022c013
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit 022c013

Please sign in to comment.