-
Notifications
You must be signed in to change notification settings - Fork 284
node_integration_tests - use granary for key reuse #4276
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments. Nothing critical though.
enabled = True | ||
|
||
@classmethod | ||
def get(cls, test_dir: Path): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not critical: If you call this second time, with different test_dir
you might get a bit surprising results.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed!
Protected our future selves from this by splitting the functions and adding asserts
Please resolve if you like the fix ( only this commit )
Is the Granary code available somewhere? |
@etam thanks for the comments! will look into them :) the granary is available here: https://github.com/golemfactory/golem-granary |
12ae6df
to
f7dba38
Compare
f7dba38
to
f780e59
Compare
f780e59
to
beadb18
Compare
@mfranciszkiewicz thanks for the review, great comments! I have addressed all of them and resolved the simple fixes, please resolve your other comments when happy with the fixes |
- better name for the key reuse singleton - added comments for all key reuse classes - better default password - better use of json.load / dump
- Improved logging, less private more public calls
4f3ccc1
to
e34b760
Compare
e34b760
to
20f86a3
Compare
node_integration_tests - use granary for key reuse
node_integration_tests - use granary for key reuse
The granary is disabled by default.