-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pylxd/client: inspect secret before trying to use it as a token #616
pylxd/client: inspect secret before trying to use it as a token #616
Conversation
c0f2c40
to
eec1d55
Compare
Our unit tests are pretty terrible. So to spare you from working with that while we don't improve them, I would be fine with just testing:
Then again if you think a unit test is needed here go for it :) |
Also may be worth adding something on https://github.com/canonical/pylxd/blob/main/doc/source/authentication.rst |
09983e4
to
cbc4cdc
Compare
Can't agree more!
Yeah, I went the |
Signed-off-by: Simon Deziel <[email protected]>
Signed-off-by: Simon Deziel <[email protected]>
Signed-off-by: Simon Deziel <[email protected]>
…e code Signed-off-by: Simon Deziel <[email protected]>
cbc4cdc
to
991ca6a
Compare
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.
Sharp idea with the doctests. We could consider rewriting our unit tests as doctests at some point (far in the future perhaps).
No description provided.