Skip to content

Adds the verifier field to the project response #43

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

Merged
merged 1 commit into from
Nov 4, 2021
Merged

Conversation

pcothenet
Copy link
Contributor

What

  • Adds the verifier field to the project response

Why

** CHANGEME: Why are these changes needed? **

SDK Release Checklist

  • Have you added an integration test for the changes?
  • Have you built the library locally and made queries against it successfully?
  • Did you update the changelog?
  • Did you bump the package version?
  • For breaking changes, did you plan for the release of the new SDK versions and deploy the API to production?

@pcothenet pcothenet requested review from kleinjm and alianam November 4, 2021 19:11
self.assertEqual(project.developer, "Patch Sandbox Supplier Test")
self.assertIsInstance(project.country, str)
self.assertIsInstance(project.type, str)
self.assertIsInstance(project.developer, str)
Copy link
Contributor

Choose a reason for hiding this comment

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

no test for verifier?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unfortunately, that data was too sparsely populated to make for a reliable test. To be revised when we can improve test strategies for SDKs.

Comment on lines -75 to +77
self.assertEqual(project.country, "US")
self.assertEqual(project.type, "biomass")
self.assertEqual(project.developer, "Patch Sandbox Supplier Test")
self.assertIsInstance(project.country, str)
self.assertIsInstance(project.type, str)
self.assertIsInstance(project.developer, str)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Those were too brittle and failing. Proposing to keep tests dumb in the SDKs

@pcothenet pcothenet merged commit b84292d into main Nov 4, 2021
@pcothenet pcothenet deleted the pc/1.5.1 branch November 4, 2021 19:43
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