python3Packages.python-openstackclient: use stestrCheckHook

Signed-off-by: Vinetos <contact+git@vinetos.fr>
This commit is contained in:
Vinetos
2026-02-21 22:20:22 +01:00
parent 38af642d2f
commit 0abace883a
@@ -19,7 +19,6 @@
python-mistralclient,
python-neutronclient,
python-octaviaclient,
python-openstackclient,
python-watcherclient,
python-zaqarclient,
python-zunclient,
@@ -28,8 +27,8 @@
setuptools,
sphinxHook,
sphinxcontrib-apidoc,
stestr,
testers,
stestrCheckHook,
versionCheckHook,
}:
buildPythonPackage (finalAttrs: {
@@ -72,7 +71,7 @@ buildPythonPackage (finalAttrs: {
nativeCheckInputs = [
ddt
requests-mock
stestr
stestrCheckHook
];
disabledTestsRegex = [
@@ -112,12 +111,10 @@ buildPythonPackage (finalAttrs: {
];
};
passthru = {
tests.version = testers.testVersion {
package = python-openstackclient;
command = "openstack --version";
};
};
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
meta = {
description = "OpenStack Command-line Client";