Skip to content

Commit

Permalink
overrides: add pytest-redis
Browse files Browse the repository at this point in the history
  • Loading branch information
apeschar authored and cpcloud committed Oct 28, 2023
1 parent 1bc274e commit 1a26b00
Show file tree
Hide file tree
Showing 5 changed files with 240 additions and 0 deletions.
3 changes: 3 additions & 0 deletions overrides/build-systems.json
Original file line number Diff line number Diff line change
Expand Up @@ -15969,6 +15969,9 @@
"pytest-recording": [
"hatchling"
],
"pytest-redis": [
"setuptools"
],
"pytest-regressions": [
"setuptools",
"setuptools-scm"
Expand Down
1 change: 1 addition & 0 deletions tests/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ in
jupyter-ydoc = callTest ./jupyter-ydoc { };
mutmut = callTest ./mutmut { };
procrastinate = callTest ./procrastinate { };
pytest-redis = callTest ./pytest-redis { };
rasterio = callTest ./rasterio { };
scientific = callTest ./scientific { };
scipy1_9 = callTest ./scipy1_9 { };
Expand Down
10 changes: 10 additions & 0 deletions tests/pytest-redis/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{ poetry2nix, runCommand }:
let
env = poetry2nix.mkPoetryEnv {
projectDir = ./.;
};
in
runCommand "pytest-redis-test" { } ''
${env}/bin/python -c 'import pytest_redis'
touch $out
''
213 changes: 213 additions & 0 deletions tests/pytest-redis/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions tests/pytest-redis/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[tool.poetry]
name = "pytest-redis-test"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.10"
pytest-redis = "*"

[build-system]
requires = ["poetry-core>=1.1"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 1a26b00

Please sign in to comment.