Skip to content

Json Asserter Mixin#18

Merged
mlclay merged 4 commits intomasterfrom
feature/json-asserter-mixin
Jan 28, 2020
Merged

Json Asserter Mixin#18
mlclay merged 4 commits intomasterfrom
feature/json-asserter-mixin

Conversation

@jamesfneyer
Copy link
Copy Markdown
Contributor

This adds a Json Asserter mixin that automatically grabs the json_asserter and sets it's value on the class, so importing it every time isn't necessary.

@jamesfneyer jamesfneyer requested a review from mlclay January 28, 2020 19:56
Copy link
Copy Markdown
Contributor

@mlclay mlclay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds another way to cleanly inject the json_asserter for use in pytests. I think this could be useful. Since this is the one part of shipchain-common that is currently documented, can you please update the readme with a snippet on using this mixin

@mlclay mlclay merged commit 71ae6ad into master Jan 28, 2020
@mlclay mlclay deleted the feature/json-asserter-mixin branch January 28, 2020 20:51
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.

2 participants