python3Packages.pyairvisual: add pythonImportsCheck and update pytestFlagsArray

This commit is contained in:
Fabian Affolter 2021-01-07 16:39:34 +01:00
parent ac50b98e2b
commit dc7bca1a32

View File

@ -43,13 +43,13 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = [
"tests"
];
# Ignore the examples as they are prefixed with test_
pytestFlagsArray = [ "--ignore examples/" ];
pythonImportsCheck = [ "pyairvisual" ];
meta = with lib; {
description = "A simple, clean, well-tested Python library for interacting with AirVisual©";
license = licenses.mit;
license = licenses.mit;
homepage = "https://github.com/bachya/pyairvisual";
};
}