[reportlab-users] Online test in reportlab-3.6.0

Antonio T. sagitter sagitter at fedoraproject.org
Thu Aug 5 13:46:36 EDT 2021


Hi all.

Latest release 3.6.0 contains a test that needs an internet connection:

ERROR: test9 (test_lib_utils.ImporterTestCase)

test open and read of an http: URL

----------------------------------------------------------------------

Traceback (most recent call last):

   File 
"/builddir/build/BUILD/reportlab-3.6.0/tests/reportlab/lib/utils.py", 
line 579, in open_for_read

     return open_for_read_by_name(name,mode)

   File 
"/builddir/build/BUILD/reportlab-3.6.0/tests/reportlab/lib/utils.py", 
line 522, in open_for_read_by_name

     return open(name,mode)

FileNotFoundError: [Errno 2] No such file or directory: 
'http://www.reportlab.com/rsrc/encryption.gif'

During handling of the above exception, another exception occurred:

This test is passed when executed online but i wish to skip it if 
necessary. Is it possible?

Thanks.
-- 
---
Antonio Trande
Fedora Project
mailto: sagitter at fedoraproject.org
GPG key: 0x29FBC85D7A51CC2F
GPG key server: https://keys.gnupg.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x29FBC85D7A51CC2F.asc
Type: application/pgp-keys
Size: 4213 bytes
Desc: OpenPGP public key
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20210805/91828412/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20210805/91828412/attachment.sig>


More information about the reportlab-users mailing list