python3Packages.gradient-utils: disable network tests

This commit is contained in:
Jonathan Ringer 2021-12-07 23:31:35 -08:00
parent 6d6251ae79
commit d70eb604e9
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -52,6 +52,11 @@ buildPythonPackage rec {
"test_add_metrics_pushes_metrics" # requires a working prometheus push gateway
];
disabledTestPaths = [
# needs network access
"tests/integration/test_metrics.py"
];
pythonImportsCheck = [ "gradient_utils" ];
meta = with lib; {