def memory(mocker): SimpleMemoryBackend._handlers = {} SimpleMemoryBackend._cache = {} mocker.spy(SimpleMemoryBackend, "_cache") return SimpleMemoryBackend()
def test_parse_uri_path(self): assert SimpleMemoryBackend.parse_uri_path("/1/2/3") == {}