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

Remove non-hermetic test cases from fetch_test. #338

Merged
merged 3 commits into from
Aug 9, 2019
Merged

Remove non-hermetic test cases from fetch_test. #338

merged 3 commits into from
Aug 9, 2019

Conversation

cassierecher
Copy link
Contributor

These tests were dependent on there being a token already written to
disk by a previous run of the binary. The functionality will be tested
in the future, along with a bit of refactoring to make the presence (or
lack thereof) of the token not matter.

These tests were dependent on there being a token already written to
disk by a previous run of the binary. The functionality will be tested
in the future, along with a bit of refactoring to make the presence (or
lack thereof) of the token not matter.
@cassierecher
Copy link
Contributor Author

CI failure looks unrelated to this code

Copy link

@NEricN NEricN left a comment

Choose a reason for hiding this comment

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

Can you add a note or something to add the tests back in eventually?

It could take in some interface for reading/writing to disk, then the tests can just use a fake file system in memory.

@cassierecher
Copy link
Contributor Author

Done!

@cassierecher cassierecher merged commit 32459c5 into googlecodelabs:master Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants