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

TestBadWords test_validate_prod unit test is failing (Forbidden: 403) #4886

Open
megaz opened this issue Jan 24, 2025 · 0 comments
Open

TestBadWords test_validate_prod unit test is failing (Forbidden: 403) #4886

megaz opened this issue Jan 24, 2025 · 0 comments

Comments

@megaz
Copy link
Contributor

megaz commented Jan 24, 2025

I followed the developer guide to get setup to contribute to the website repo and following the following step: https://github.com/datacommonsorg/website/blob/master/docs/developer_guide.md#run-all-tests

The unit test TestBadWords has a test test_validate_prod failing. This should be more of an integration test if there is a network call dependency. Generally, unit tests should not be doing network calls and if so, they should ideally be mocked in an integration test or similar.

============================================================================================== short test summary info ===============================================================================================
FAILED server/tests/lib/nl/bad_words_test.py::TestBadWords::test_validate_prod - google.api_core.exceptions.Forbidden: 403 GET https://storage.googleapis.com/storage/v1/b/datcom-website-config/o?projection=noAcl&prefix=nl_bad_words.txt&prettyPrint=false: zahir.abdi5@gmail.com does not have...
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

No branches or pull requests

1 participant