Ejemplo n.º 1
0
async def test_update_state_with_invalid_handle():
    with pytest.raises(VcxError) as e:
        credential = Credential(source_id)
        credential.handle = 0
        await credential.update_state()
    assert ErrorCode.InvalidCredentialHandle == e.value.error_code
Ejemplo n.º 2
0
async def test_update_state_with_invalid_handle():
    with pytest.raises(VcxError) as e:
        credential = Credential(source_id)
        credential.handle = 0
        await credential.update_state()
    assert ErrorCode.InvalidCredentialHandle == e.value.error_code