CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pytest-redis

Redis fixtures and fixture factories for Pytest.

Overall
score

95%

Overview
Eval results
Files

rubric.jsonevals/scenario-10/

{
  "context": "This evaluation assesses how well the engineer uses pytest-redis's custom exception types (RedisUnsupported, RedisMisconfigured, UnixSocketTooLong) to implement proper error handling in Redis configuration validation functions.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "RedisMisconfigured usage",
      "description": "The validate_redis_executable function correctly imports and raises pytest_redis.exceptions.RedisMisconfigured (or pytest_redis.exception.RedisMisconfigured) when the executable path is invalid or inaccessible.",
      "max_score": 30
    },
    {
      "name": "UnixSocketTooLong usage",
      "description": "The validate_socket_path function correctly imports and raises pytest_redis.exceptions.UnixSocketTooLong (or pytest_redis.exception.UnixSocketTooLong) when the socket path exceeds platform-specific length limits.",
      "max_score": 30
    },
    {
      "name": "RedisUnsupported usage",
      "description": "The validate_redis_version function correctly imports and raises pytest_redis.exceptions.RedisUnsupported (or pytest_redis.exception.RedisUnsupported) when the Redis version is below the minimum required version.",
      "max_score": 30
    },
    {
      "name": "Exception import",
      "description": "All three custom exceptions are properly imported from the pytest_redis package (from pytest_redis.exception or pytest_redis.exceptions).",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pytest-redis

tile.json