Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-certifi for openSUSE:Factory 
checked in at 2024-11-08 11:56:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-certifi (Old)
 and      /work/SRC/openSUSE:Factory/.python-certifi.new.2017 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-certifi"

Fri Nov  8 11:56:05 2024 rev:37 rq:1222059 version:2024.8.30

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-certifi/python-certifi.changes    
2024-10-23 21:08:34.930466003 +0200
+++ /work/SRC/openSUSE:Factory/.python-certifi.new.2017/python-certifi.changes  
2024-11-08 11:58:42.307773794 +0100
@@ -1,0 +2,5 @@
+Thu Nov  7 09:18:40 UTC 2024 - Matej Cepl <mc...@cepl.eu>
+
+- Make the test suite working just with the standard library.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ two-basic-unit-tests.patch ++++++
--- /var/tmp/diff_new_pack.at8zwF/_old  2024-11-08 11:58:44.723874551 +0100
+++ /var/tmp/diff_new_pack.at8zwF/_new  2024-11-08 11:58:44.791877386 +0100
@@ -11,18 +11,14 @@
  create mode 100644 certifi/tests/__init__.py
  create mode 100755 certifi/tests/test_certifi.py
 
-Index: certifi-2024.7.4/certifi/tests/__init__.py
-===================================================================
 --- /dev/null
-+++ certifi-2024.7.4/certifi/tests/__init__.py
++++ b/certifi/tests/__init__.py
 @@ -0,0 +1,2 @@
 +# certifi.tests module
 +
-Index: certifi-2024.7.4/certifi/tests/test_certifi.py
-===================================================================
 --- /dev/null
-+++ certifi-2024.7.4/certifi/tests/test_certifi.py
-@@ -0,0 +1,23 @@
++++ b/certifi/tests/test_certifi.py
+@@ -0,0 +1,19 @@
 +# -*- coding: utf-8 -*-
 +"""
 +unit tests to make sure everything behaves as expected
@@ -35,21 +31,15 @@
 +
 +
 +class TestCertifi(unittest.TestCase):
-+    def test_cabundle_exists(self) -> None:
-+        assert os.path.exists(certifi.where())
-+
-+    def test_read_contents(self) -> None:
-+        content = certifi.contents()
-+        assert "-----BEGIN CERTIFICATE-----" in content
-+
-+    def test_py_typed_exists(self) -> None:
-+        assert os.path.exists(
-+            os.path.join(os.path.dirname(certifi.__file__), 'py.typed')
-+        )
-Index: certifi-2024.7.4/.github/workflows/python-package.yml
-===================================================================
++    def test_cabundle_exists(self):
++        """Check that the reported bundle exists"""
++        self.assertTrue(os.path.exists(certifi.where()))
++
++    def test_read_contents(self):
++        """Check that the returned contents contain a certificate"""
++        self.assertIn("-----BEGIN CERTIFICATE-----", certifi.contents())
 --- /dev/null
-+++ certifi-2024.7.4/.github/workflows/python-package.yml
++++ b/.github/workflows/python-package.yml
 @@ -0,0 +1,40 @@
 +# This workflow will install Python dependencies, run tests and lint with a 
variety of Python versions
 +# For more information see: 
https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

Reply via email to