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,9 +43,9 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
pytestFlagsArray = [ # Ignore the examples as they are prefixed with test_
"tests" pytestFlagsArray = [ "--ignore examples/" ];
]; pythonImportsCheck = [ "pyairvisual" ];
meta = with lib; { meta = with lib; {
description = "A simple, clean, well-tested Python library for interacting with AirVisual©"; description = "A simple, clean, well-tested Python library for interacting with AirVisual©";