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

Properly test no-op does the right thing, as does real errors. #28

Merged
merged 1 commit into from
Apr 11, 2017

Conversation

jameinel
Copy link
Member

@jameinel jameinel commented Apr 11, 2017

Oddly enough we didn't have a test that we handled errors correctly.
The issue is that often when raising an error, we also set the ops to empty,
so we have to check the error before we do the rest.
Add a test that we handle these cases correctly.

(Review request: http://reviews.vapour.ws/r/6516/)

Oddly enough we didn't have a test that we handled errors correctly.
The issue is that often when raising an error, we also set the ops to empty,
so we have to check the error before we do the rest.
Add a test that we handle these cases correctly.
@jameinel jameinel merged commit 42e03db into juju:master Apr 11, 2017
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