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

Osc.staging.set_status_report() always returns False #158

Closed
oSoMoN opened this issue May 9, 2024 · 1 comment · Fixed by #159
Closed

Osc.staging.set_status_report() always returns False #158

oSoMoN opened this issue May 9, 2024 · 1 comment · Fixed by #159

Comments

@oSoMoN
Copy link
Contributor

oSoMoN commented May 9, 2024

Osc.staging.set_status_report() always returns False because the implementation expects the parsed response object to have a "code" attribute with a value of "ok".

In my tests, SUSE's internal build system returns a check object that doesn't have a "code" attribute. This looks like:

<check name="foo" required="true">
  <state>success</state>
  <short_description>check was successful</short_description>
  <url>http://example.org/</url>
</check>
@crazyscientist
Copy link
Contributor

You gotta love the consistency in the API design 😂

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 a pull request may close this issue.

2 participants