diff --git a/test/test_persistent_dict.py b/test/test_persistent_dict.py index 53afd7774cb3a7ff7dca6c1fc7f7058853e51a2d..b8954b41e238b80eb4081804e4454223b2770258 100644 --- a/test/test_persistent_dict.py +++ b/test/test_persistent_dict.py @@ -192,6 +192,10 @@ def test_write_once_persistent_dict_storage_and_lookup(in_mem_cache_size): with pytest.raises(ReadOnlyEntryError): pdict[0] = 2 + # check not found + with pytest.raises(NoSuchEntryError): + pdict[1] + finally: shutil.rmtree(tmpdir)