Skip to content
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

Fix examples #15

Merged
merged 2 commits into from
Aug 7, 2019
Merged

Fix examples #15

merged 2 commits into from
Aug 7, 2019

Conversation

jaxley
Copy link
Contributor

@jaxley jaxley commented Aug 6, 2019

Examples were found to be broken by the recent changes. Added unit test to ensure those breaks get caught in the future.

Also changed hard-coded future dates (timebombs) to be dynamic to avoid additional issues down the road.

And did some refactoring to push key derivation out to the public methods to make it easier to determine whether it's been done or not.

…tion out into the public methods so that private methods can assume that is already done. And added missing conversion in third party caveat method.
…mples. Replaced hard-coded future dates with dynamic dates to avoid additional timebombs.
@coveralls
Copy link

Coverage Status

Coverage remained the same at ?% when pulling b3c347c on jaxley:fixExamples into 86f6bb3 on nitram509:master.

@nitram509 nitram509 merged commit b3c347c into nitram509:master Aug 7, 2019
@nitram509
Copy link
Owner

Awesome, thank you very much.
I fall flat on my face with my local timezone Europe/Berlin, where the TimeCaveatVerifier was not robust enough ... so I had to add one more test ;-)

Great idea to include the Examples in the unit tests.

👍
Thank you for your effort and contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants