python3.pkgs.opentelemetry-util-http: fix build

The two tests fail because apparently they weren't really executed
before 🤷

See also https://github.com/open-telemetry/opentelemetry-python-contrib/issues/1940
This commit is contained in:
Maximilian Bosch
2024-01-20 15:19:34 +01:00
parent c913a0bc0d
commit c91c1276ba
@@ -33,6 +33,12 @@ buildPythonPackage {
pytestCheckHook
];
# https://github.com/open-telemetry/opentelemetry-python-contrib/issues/1940
disabledTests = [
"test_nonstandard_method"
"test_nonstandard_method_allowed"
];
pythonImportsCheck = [ "opentelemetry.util.http" ];
meta = opentelemetry-instrumentation.meta // {