From db8b6d3e68db1b584c3b46393c5226d6a92bccac Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 17 Apr 2017 16:02:57 +0200 Subject: [PATCH] Add test for QNetworkReply.abort --- tests/unit/browser/webkit/network/test_networkreply.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/browser/webkit/network/test_networkreply.py b/tests/unit/browser/webkit/network/test_networkreply.py index 7505dbc8c..13e060c8a 100644 --- a/tests/unit/browser/webkit/network/test_networkreply.py +++ b/tests/unit/browser/webkit/network/test_networkreply.py @@ -98,3 +98,4 @@ def test_redirect_network_reply(): reply = networkreply.RedirectNetworkReply(url) assert reply.readData(1) == b'' assert reply.attribute(QNetworkRequest.RedirectionTargetAttribute) == url + reply.abort() # shouldn't do anything