python3Packages.oinker: enable tests

octodns-providers.porkbun: enable tests
This commit is contained in:
𝑷𝒉𝒊𝒍𝒐𝒄𝒂𝒍𝒚𝒔𝒕
2026-07-30 16:48:38 -07:00
parent 966fa02369
commit 0e6e424ddf
2 changed files with 29 additions and 1 deletions

View File

@@ -2,9 +2,12 @@
lib,
buildPythonPackage,
fetchFromGitHub,
uv-build,
octodns,
oinker,
pytest-cov-stub,
pytest-randomly,
pytestCheckHook,
uv-build,
}:
buildPythonPackage (finalAttrs: {
pname = "octodns-porkbun";
@@ -25,6 +28,12 @@ buildPythonPackage (finalAttrs: {
oinker
];
nativeCheckInputs = [
pytest-cov-stub
pytest-randomly
pytestCheckHook
];
pythonImportsCheck = [ "octodns_porkbun" ];
meta = {

View File

@@ -3,6 +3,11 @@
buildPythonPackage,
fetchFromGitHub,
httpx,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
rich,
typer,
uv-build,
}:
buildPythonPackage (finalAttrs: {
@@ -21,6 +26,20 @@ buildPythonPackage (finalAttrs: {
dependencies = [ httpx ];
optional-dependencies = {
cli = [
rich
typer
];
};
nativeCheckInputs = [
pytest-asyncio
pytest-cov-stub
pytestCheckHook
]
++ finalAttrs.finalPackage.optional-dependencies.cli;
pythonImportsCheck = [ "oinker" ];
meta = {