1
0

Fix broken tests #1

Merged
jirislaby merged 1 commits from dgarcia/d-l-p-python-aiorpcX:fix-tests into factory 2026-02-04 19:00:55 +01:00
3 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
Index: aiorpcX-0.25.0/tests/test_jsonrpc.py
===================================================================
--- aiorpcX-0.25.0.orig/tests/test_jsonrpc.py
+++ aiorpcX-0.25.0/tests/test_jsonrpc.py
@@ -1064,7 +1064,7 @@ async def test_max_response_size(protoco
await group.spawn(send_batch(batch))
-def test_misc(protocol):
+async def test_misc(protocol):
'''Misc tests to get full coverage.'''
connection = JSONRPCConnection(protocol)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 4 12:44:25 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
- Add fix-jsonrpc-test-misc.patch to fix broken tests
gh#kyuupichan/aiorpcX#56
-------------------------------------------------------------------
Thu Jul 31 06:56:43 UTC 2025 - Jiri Slaby <jslaby@suse.cz>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-aiorpcX
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@ Group: Development/Languages/Python
URL: https://github.com/kyuupichan/aiorpcX
Source: https://github.com/kyuupichan/aiorpcX/archive/%{version}.tar.gz
Patch0: 0001-Remove-event_loop-fixture-usage-from-tests.patch
# PATCH-FIX-OPENSUSE fix-jsonrpc-test-misc.patch -- gh#kyuupichan/aiorpcX#56
Patch1: fix-jsonrpc-test-misc.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}