KEMBAR78
scalars: add HTTP-level tests of download behavior by nfelt · Pull Request #3793 · tensorflow/tensorboard · GitHub
Skip to content

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