Remove test committed by mistake

This commit is contained in:
Bruno Oliveira 2021-10-15 18:01:18 -03:00
parent 1f85d15c93
commit 1f83164974
1 changed files with 0 additions and 11 deletions

View File

@ -35,17 +35,6 @@ class TestNewAPI:
val = config.cache.get("key/name", -2)
assert val == -2
def test_cache_order(self, pytester: Pytester) -> None:
pytester.makeini("[pytest]")
config = pytester.parseconfigure()
assert config.cache is not None
cache = config.cache
pytest.raises(TypeError, lambda: cache.set("key/name", cache))
config.cache.set("key/name", 0)
config.cache._getvaluepath("key/name").write_bytes(b"123invalid")
val = config.cache.get("key/name", -2)
assert val == -2
@pytest.mark.filterwarnings("ignore:could not create cache path")
def test_cache_writefail_cachfile_silent(self, pytester: Pytester) -> None:
pytester.makeini("[pytest]")