[reportlab-users] Online test in reportlab-3.6.0
Robin Becker
robin at reportlab.com
Thu Aug 5 14:24:58 EDT 2021
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?
--
Robin Becker
More information about the reportlab-users
mailing list