@pytest.mark.parametrize('path,expected', [('', {}), ('/', {}), ('/1', {'db': '1'}), ('/1/2/3', {'db': '1'})])
def test_parse_uri_path(self, path, expected):
    assert (RedisCache().parse_uri_path(path) == expected)
@pytest.mark.parametrize('path,expected', [(, {}), ('/', {}), ('/1', {'db': '1'}), ('/1/2/3', {'db': '1'})])
def test_parse_uri_path(self, path, expected):
    assert (RedisCache().parse_uri_path(path) == expected)