-
Notifications
You must be signed in to change notification settings - Fork 64
[RSDK-3898] Implement Tests for Data Cloud API's #357
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! a couple comments but looks great overall, thanks for working on this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor comment which we might not want to implement because it'll be a breaking change, but still important to note.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one nit but otherwise lgtm!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved pending @stuqdog's requests
…ptional tuple of timestamps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! lgtm :)
This PR implements two separate test clients that combine to test every gRPC method wrapper defined in our DataClient class. Tthe PR also implements two mock services that simulate responses from app. One test client/mock service duo is for the data methods, and the other is for the data sync (upload) methods. Finally, the PR also updates binary_data_by_filter() to return a list of bytes--as opposed to a list of SensorData objects.