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