You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by gs...@apache.org on 2026/10/23 03:41:10 UTC
(tooling-llmao) branch main updated: tests: license header on test_trust_store.py
This is an automated email from the ASF dual-hosted git repository.
gstein pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-llmao.git
The following commit(s) were added to refs/heads/main by this push:
new 4ee0d51 tests: license header on test_trust_store.py
4ee0d51 is described below
commit 4ee0d51d8ed08c65950a68f9a9ffb259c913e3b5
Author: Greg Stein <gs...@gmail.com>
AuthorDate: Thu Oct 22 22:39:56 2026 -0500
tests: license header on test_trust_store.py
Co-Authored-By: Claude Opus 5.5 <no...@anthropic.com>
---
tests/test_trust_store.py | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/tests/test_trust_store.py b/tests/test_trust_store.py
index d93eef1..cffaaff 100644
--- a/tests/test_trust_store.py
+++ b/tests/test_trust_store.py
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
"""Roots distrusted on the host must also be absent from certifi.
certifi ships its own copy of the Mozilla roots, and httpx uses it for every
@@ -18,4 +35,3 @@ def test_certifi_does_not_carry_a_distrusted_root():
bundle = pathlib.Path(certifi.where()).read_text(encoding="utf-8")
present = [label for label in DISTRUSTED if f'Label: "{label}"' in bundle]
assert not present, f"certifi {certifi.__version__} still trusts {present}"
-
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org