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

Fixed SSLCertificate Error in Get_URL #58

Merged
merged 2 commits into from
Oct 22, 2021

Conversation

FernandoDavis
Copy link
Contributor

The URL was failing to retrieve the document due to certificate errors. Changed link to a smaller-sized link hosted on GitHub for easier access.

…ent due to certificate errors. Changed link to a smaller sized link hosted on github for easier access.
@bwohlberg bwohlberg added the bug Something isn't working label Oct 22, 2021
@bwohlberg bwohlberg linked an issue Oct 22, 2021 that may be closed by this pull request
def test_url_get():
url = "https://webpages.tuni.fi/foi/GCF-BM3D/BM3D_TIP_2007.pdf"
assert not url_get(url).getvalue().find(b"bm3d") == -1
url = "https://github.com/lanl/scico/blob/main/README.rst"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't the test URL on line 51 also be changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@bwohlberg bwohlberg added tests Pertaining to SCICO tests and removed bug Something isn't working labels Oct 22, 2021
Copy link
Collaborator

@bwohlberg bwohlberg left a comment

Choose a reason for hiding this comment

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

Looks good!

@FernandoDavis FernandoDavis merged commit 8029386 into main Oct 22, 2021
@FernandoDavis FernandoDavis deleted the FernandoDavis/url_fix_sslcertificate_error branch October 22, 2021 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Pertaining to SCICO tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test for scico.util.url_get failing
2 participants