Skip to content

Commit 5c7a5c9

Browse files
committed
fix tests
1 parent 54b0a0c commit 5c7a5c9

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

test/resources/Account_test.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -505,11 +505,8 @@ def test_update_account_verification_sessions(setup):
505505
@pytest.mark.asyncio
506506
async def test_retrieve_account_verification_session(setup):
507507
test_credit_card_account = setup['test_credit_card_account']
508-
509-
def get_verification_session():
510-
return method.accounts(test_credit_card_account['id']).verification_sessions.retrieve(verification_session_update['id'])
511508

512-
verification_session_retrieve_response = await await_results(get_verification_session)
509+
verification_session_retrieve_response = method.accounts(test_credit_card_account['id']).verification_sessions.retrieve(verification_session_update['id'])
513510

514511
expect_results: AccountVerificationSession = {
515512
'id': verification_session_update['id'],

test/resources/Entity_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def test_create_entity_connect_async():
432432
'id': entities_connect_async_create_response['id'],
433433
'entity_id': entities_create_async_response['id'],
434434
'status': 'pending',
435-
'accounts': [],
435+
'accounts': None,
436436
'requested_products': [ 'update' ],
437437
'requested_subscriptions': [ 'update' ],
438438
'error': None,

0 commit comments

Comments
 (0)