Re: Online test in reportlab-3.6.0

Robin Becker <[email protected]> Thu, 5 Aug 2021 19:24:58 +0100
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
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
_______________________________________________
reportlab-users mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/reportlab-users