Also remove test for removed assertion

This commit is contained in:
Florian Bruhin 2017-05-16 12:56:25 +02:00
parent 766a1ebb6d
commit 9408babef5

View File

@ -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))