or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/pytest-redis@3.1.x
tile.json

tessl/pypi-pytest-redis

tessl install tessl/pypi-pytest-redis@3.1.0

Redis fixtures and fixture factories for Pytest.

Agent Success

Agent success rate when using this tile

95%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.12x

Baseline

Agent success rate without this tile

85%

task.mdevals/scenario-5/

Redis Unix Socket Test Suite

A test suite that demonstrates Redis testing using Unix domain sockets. The suite should configure custom Redis fixtures to use Unix sockets and verify socket path validation behavior.

Capabilities

Test Unix socket connection

  • Create a custom Redis process fixture using Unix socket in /tmp/redis directory, store key "test_key" with value "socket_works", and verify retrieval returns "socket_works" @test

Test socket path validation

  • Create a Redis process fixture with a data directory path that results in a Unix socket path exceeding 107 characters and verify that an error is raised during fixture creation @test

Test basic operations via socket

  • Using a Unix socket Redis fixture with data directory /tmp/short, perform SET operation with key "counter" and value "42", then GET "counter" and verify it returns "42" @test

Implementation

@generates

API

"""
Pytest configuration file with custom Redis fixtures using Unix sockets.
"""

# Custom fixtures for Unix socket-based Redis testing should be defined here

Dependencies { .dependencies }

pytest-redis { .dependency }

Provides Redis fixtures and fixture factories for pytest, including Unix socket support.

@satisfied-by