From 9408babef53b4f5be9339a1603c15aab7c340be2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 16 May 2017 12:56:25 +0200 Subject: [PATCH] Also remove test for removed assertion --- tests/unit/browser/webkit/test_cache.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/unit/browser/webkit/test_cache.py b/tests/unit/browser/webkit/test_cache.py index 8eaa0112c..8c0f7b948 100644 --- a/tests/unit/browser/webkit/test_cache.py +++ b/tests/unit/browser/webkit/test_cache.py @@ -233,10 +233,3 @@ def test_cache_full(config_stub, tmpdir): assert disk_cache.metaData(QUrl(url)).lastModified() == soon assert disk_cache.data(QUrl(url)).readAll() == content - - -def test_private_browsing(config_stub, tmpdir): - """Make sure the cache asserts with private browsing.""" - config_stub.data = {'general': {'private-browsing': True}} - with pytest.raises(AssertionError): - cache.DiskCache(str(tmpdir))