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

Additional error checking on API calls; See #12 #47

Merged
merged 4 commits into from
Feb 21, 2018

Conversation

cosmocracy
Copy link
Contributor

Ensure the payload contains a status attribute since existing code doesn't properly handle failure (i.e., assumes success if it doesn't see the failure it expects)

@cosmocracy
Copy link
Contributor Author

Looks like the tests are failing because the mocked responses aren't including a the status attribute returned by the API. Perhaps my PR should also fix this issue?

@cosmocracy
Copy link
Contributor Author

Canceling this PR as the API tests don't consistently include mocked status and status_code values.

@cosmocracy cosmocracy closed this Oct 4, 2017
@cosmocracy cosmocracy reopened this Oct 4, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 98.921% when pulling 719fe57 on cosmocracy:master into 2d241f6 on Scifabric:master.

@cosmocracy
Copy link
Contributor Author

FYI, @teleyinex. This might resolve #12 / #47

@teleyinex
Copy link
Member

This looks good! Please sign the CONTRIBUTION agreement and we will merge it!

@teleyinex teleyinex merged commit c9e182b into Scifabric:master Feb 21, 2018
@teleyinex
Copy link
Member

Apologies for the really long delay!

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.

None yet

3 participants