Add unit-test for NetworkTransaction URLError handling
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Mar 2018 18:39:43 +0000 (18:39 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Mar 2018 18:39:43 +0000 (18:39 +0000)
commitf5059fc7ee6802ce6abfb1108aa38d2305c97ea0
tree3cedc8d2c44f12be96cfbf9088ac27ebe41cbda0
parent5f2a5708a0191c1650f646b6a5114c8f95ba7944
Add unit-test for NetworkTransaction URLError handling
https://bugs.webkit.org/show_bug.cgi?id=183664

Reviewed by Alexey Proskuryakov.

* Scripts/webkitpy/common/net/networktransaction_unittest.py:
(NetworkTransactionTest._raise_URLError): Method to raise URLError.
(NetworkTransactionTest.test_retry_on_HTTPError): Renamed from test_retry.
(NetworkTransactionTest.test_retry_on_URLError): unit-test for testing URLError handling.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/common/net/networktransaction_unittest.py