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

scalars: add HTTP-level tests of download behavior #3793

Merged
merged 1 commit into from
Jul 7, 2020

Conversation

nfelt
Copy link
Contributor

@nfelt nfelt commented Jul 6, 2020

This pulls the test improvements from #3782 out into their own PR, since they have independent value even if that PR might not be the right solution. The changes here remove the should_work indirection and the use of all 3 data fixtures for each test method (even when only one is used for any given test) by flattening them out into just having 3 separate tests for each case that only test the JSON response version.

To preserve and improve CSV and JSON format download behavior coverage, we add two HTTP-level tests using the werkzeug test client.

Copy link
Contributor

@wchargin wchargin left a comment

Choose a reason for hiding this comment

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

Thanks!

@nfelt nfelt merged commit 98f828b into tensorflow:master Jul 7, 2020
@nfelt nfelt deleted the scalars-test-fixes branch July 7, 2020 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants