Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: pfeairheller <[email protected]>
  • Loading branch information
pfeairheller committed Nov 12, 2023
1 parent 23deca8 commit f6f725d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/app/test_credentialing.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ def test_credentials_list():

from requests import Response
mock_response = mock({'json': lambda: {}}, spec=Response, strict=True)
expect(mock_client, times=1).post('/identifiers/aid1/credentials/query',
expect(mock_client, times=1).post('/credentials/query',
json={'filter': {'genre': 'horror'},
'sort': ['updside down'], 'skip': 10, 'limt': 10}).thenReturn(mock_response)

from signify.app.credentialing import Credentials
Credentials(client=mock_client).list('aid1', filtr={'genre': 'horror'}, sort=['updside down'], skip=10,
Credentials(client=mock_client).list(filtr={'genre': 'horror'}, sort=['updside down'], skip=10,
limit=10) # type: ignore

verify(mock_response, times=1).json()
Expand All @@ -83,7 +83,7 @@ def test_credentials_list():
unstub()


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

Expand Down

0 comments on commit f6f725d

Please sign in to comment.