Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

invalid use of concent_variant #4554

Open
etam opened this issue Jul 29, 2019 · 1 comment
Open

invalid use of concent_variant #4554

etam opened this issue Jul 29, 2019 · 1 comment
Labels

Comments

@etam
Copy link
Contributor

etam commented Jul 29, 2019

https://github.com/golemfactory/golem/blob/bdce5dee5183f241c137ac0e45f21525d4166b1e/golem/network/concent/received_handler.py#L181

Client doesn't have concent_variant member. It's in Node and it's passed to ConcentClientService.

Proper access would be ...client.concent_service.variant['pubkey']

@etam
Copy link
Contributor Author

etam commented Jul 29, 2019

There is a unit test, that mocks Client and adds concent_variant to it.
Maybe using Mock(spec=Client) would help.

@badb badb removed the brass label Jun 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants