You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the test suite locally without an internet connection, the test_nb_citations fails as an active connection to the crossref API is required.
Perhaps we could integrate an initial test to see if the user is online before running this test, and issue a warning that certain features will be unavailable without an active connection.
The error produced (reduced):
tests\test_materials.py ....... [ 56%]
tests\test_permeability.py ..... [ 60%]
tests\test_plotting.py ...... [ 64%]
tests\test_properties_group.py ...................... [ 81%]
tests\test_property.py ........F... [ 90%]
tests\test_solubility.py ... [ 93%]
tests\test_system.py ......... [100%]
=============================================================================FAILURES==============================================================================_________________________________________________________________________test_nb_citations_________________________________________________________________________self=<urllib3.connection.HTTPSConnectionobjectat0x0000017405332440>
...
...
...
...
ifisinstance(e.reason, _SSLError):
# This branch is for urllib3 v1.22 and later.raiseSSLError(e, request=request)
>raiseConnectionError(e, request=request)
Erequests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.crossref.org', port=443): Maxretriesexceededwithurl: /works/10.1016/j.fusengdes.2015.05.060 (CausedbyNewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000017405332440>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))
..\..\..\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\requests\adapters.py:565: ConnectionError======================================================================shorttestsummaryinfo======================================================================FAILEDtests/test_property.py::test_nb_citations-requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.crossref.org', port=443): Maxretriesexceededwithurl: /works/10.1016/j.fusengdes.2015.05.06...
===================================================================1failed, 130passedin9.48s===================================================================
The text was updated successfully, but these errors were encountered:
When running the test suite locally without an internet connection, the test_nb_citations fails as an active connection to the crossref API is required.
Perhaps we could integrate an initial test to see if the user is online before running this test, and issue a warning that certain features will be unavailable without an active connection.
The error produced (reduced):
The text was updated successfully, but these errors were encountered: