python-paramiko/support-pytest-8.patch
Robert Schweikert cab21216e1 - Update to 3.5.0:
* [Feature] #982: (via #2444, which was a rebase of #2157) 
    Add support for AES-GCM encryption ciphers (128 and 256 bit variants). 
    Thanks to Alex Gaynor for the report (& for cryptography review), 
    Shen Cheng for the original PR, and Chris Mason for the updated PR; 
    plus as usual to everyone who tested the patches and reported their results!
    This functionality has been tested in client mode against OpenSSH 9.0, 9.2, 
    and 9.6, as well as against a number of proprietary appliance SSH servers.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=125
2024-11-20 14:08:17 +00:00

24 lines
663 B
Diff

From d71046151d9904df467ff72709585cde39cdd4ca Mon Sep 17 00:00:00 2001
From: Alex Gaynor <alex.gaynor@gmail.com>
Date: Sat, 27 Jan 2024 17:04:18 -0500
Subject: [PATCH] Use pytest's setup_method -- in pytest 8 the nose method
setup is deprecated
---
tests/test_config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_config.py b/tests/test_config.py
index 2e49aa3de..1e623e0ad 100644
--- a/tests/test_config.py
+++ b/tests/test_config.py
@@ -53,7 +53,7 @@ def load_config(name):
class TestSSHConfig:
- def setup(self):
+ def setup_method(self):
self.config = load_config("robey")
def test_init(self):