Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
python-remoto
support-pytest-8.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File support-pytest-8.patch of Package python-remoto
From bb5177292ef497563e7c07addd8f50459b151299 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= <thrnciar@redhat.com> Date: Wed, 17 Apr 2024 09:26:30 +0200 Subject: [PATCH] Replace setup() method with setup_method() to add compatibility with pytest 8 --- remoto/tests/test_process.py | 2 +- remoto/tests/test_util.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/remoto/tests/test_process.py b/remoto/tests/test_process.py index a281672..136b7d5 100644 --- a/remoto/tests/test_process.py +++ b/remoto/tests/test_process.py @@ -7,7 +7,7 @@ class TestExtendPath(object): - def setup(self): + def setup_method(self): self.path = '/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin' def test_no_environment_sets_path(self): diff --git a/remoto/tests/test_util.py b/remoto/tests/test_util.py index 0556156..363d593 100644 --- a/remoto/tests/test_util.py +++ b/remoto/tests/test_util.py @@ -18,7 +18,7 @@ def test_command_that_is_not_a_list(self): class TestRemoteError(object): - def setup(self): + def setup_method(self): self.traceback = ('\n').join([ 'Traceback (most recent call last):', ' File "<string>", line 1, in <module>',
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor