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

Refactor embed Consumer Utility error handling to fix YouTube tests #97

Open
idgserpro opened this issue Jan 5, 2021 · 0 comments
Open

Comments

@idgserpro
Copy link
Member

After #95, we discovered that the Oembed Consumer Utility error handling needs to be improved, since Youtube returns a html page instead of a well formed json if the video is Unauthorized or Not Found (

except oembed.OEmbedError, e:
).

A more detailed explanation about this whole situation can be found in #96 (comment).

Since the embed functionality for Youtube embed is completely broken, these refactoring and the tests will be fixed later.

idgserpro added a commit that referenced this issue Jan 5, 2021
Skipping: test_unauthorized_request, test_url_not_found

More information can be found in #97
hvelarde added a commit that referenced this issue Jan 6, 2021
* Fix error 403 for Youtube oembed endpoint (Ref. #95).

* Update CHANGES.rst

* Fix test_youtube_oembed; Skip some tests.

Skipping: test_unauthorized_request, test_url_not_found

More information can be found in #97

Co-authored-by: Héctor Velarde <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant