nixpkgs/pkgs/development/python-modules/python-octaviaclient/tests.nix
Michael Daniels 5ed07317e9
treewide: change 'format = "other";' to 'pyproject = false;'
Entirely find-and-replace based.

A few usages that would cause rebuilds if changed remain.

This PR should have 0 rebuilds.
2026-01-12 17:50:37 -05:00

45 lines
647 B
Nix

{
buildPythonPackage,
python-octaviaclient,
python-openstackclient,
hacking,
requests-mock,
doc8,
docutils,
pygments,
subunit,
oslotest,
stestr,
testscenarios,
}:
buildPythonPackage {
pname = "python-octaviaclient-tests";
inherit (python-octaviaclient) version src;
pyproject = false;
dontBuild = true;
dontInstall = true;
nativeCheckInputs = [
python-octaviaclient
python-openstackclient
hacking
requests-mock
doc8
docutils
pygments
subunit
oslotest
stestr
testscenarios
];
checkPhase = ''
runHook preCheck
stestr run
runHook postCheck
'';
}