[reportlab-users] Online test in reportlab-3.6.0

Antonio T. sagitter sagitter at fedoraproject.org
Thu Aug 5 14:30:50 EDT 2021


On 8/5/21 8:24 PM, Robin Becker wrote:
> On 05/08/2021 18:46, Antonio T. sagitter wrote:
>> test open and read of an http: URL
> Hi again Antonio,
> 
> looking more closely at the problem I guess it would be sufficient just 
> to mock the urlopen call. Python3 has unittest.mock which will make 
> things easier.
> 
> I think the test doesn't actually know or care what's at the end of the 
> connection.
> 
> Are you seeing any other tests that fail in the same way?

Just those failed in the build log, they should be

ERROR: test9 (test_lib_utils.ImporterTestCase)
...
ERROR: test0 (test_platypus_general.PlatypusTestCase)
...
ERROR: test0 (test_platypus_images.PlatypusImagesTestCase)

-- 
---
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/f728bfa6/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/f728bfa6/attachment.sig>


More information about the reportlab-users mailing list