sqlalchemy / sqlalchemy/dogpile.cache

Expose backend test fixtures

Open
#73 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

extensibility feature test fixtures
Dominant language
Python
Stars
299
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Migrated issue, originally created by Wichert Akkerman (wichert)

When writing other backends for dogpile.cache it would be useful to be able to use the test fixtures from dogpile.cache. Currently these are only tests/backend/_fixtures.py, and not installed. Can you consider moving the fixtures into the dogpile.cache package to support this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading tests/backend/_fixtures.py and the dogpile.cache package layout to understand how the fixtures are currently kept out of installed code. Move or expose them so external backend implementations can import them, then verify the existing backend tests still use the fixtures successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.