!23 Fixes test issue after table serializer choice pull req

From: @Bolehu 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2023-08-01 01:31:59 +00:00 committed by Gitee
commit 6de23bc616
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From f0bc203c52b417bf815ac2b0dffbd1f2cd744a8f Mon Sep 17 00:00:00 2001
From: Ask Solem <asksol@robinhood.com>
Date: Mon, 26 Nov 2018 10:26:04 -0800
Subject: [PATCH] Fixes test issue after table serializer choice pull req
---
t/unit/stores/test_base.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/t/unit/stores/test_base.py b/t/unit/stores/test_base.py
index 0c663718..39cdb072 100644
--- a/t/unit/stores/test_base.py
+++ b/t/unit/stores/test_base.py
@@ -125,6 +125,8 @@ class test_SerializedStore:
url='foo://',
app=app,
table=Mock(name='table'),
+ key_serializer='json',
+ value_serializer='json',
)
def test_apply_changelog_batch(self, *, store):
--
2.33.0

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0
Name: python-faust
Version: 1.3.0
Release: 4
Release: 5
Summary: Python Stream processing.
License: BSD 3-Clause and CC-BY-SA-4.0
URL: http://faust.readthedocs.io/
@ -9,6 +9,7 @@ Source0: https://files.pythonhosted.org/packages/91/c3/75878084aba2bbcf680b0c57f
Patch0001: backport-Fixes-missing-await-in-consumer.wait_empty.patch
Patch0002: backport-loghandlers-is-list-of-Handler-not-StreamHandler.patch
Patch0003: backport-Fixes-test-issue-after-table-serializer-choice-pull-.patch
BuildArch: noarch
BuildRequires: python3
@ -81,6 +82,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Mon Jan 9 2023 Bolehu <heyaohua@xfusion.com> - 1.3.0-5
- Fixes test issue after table serializer choice pull req
* Mon Jan 9 2023 Bolehu <heyaohua@xfusion.com> - 1.3.0-4
- loghandlers is list of Handler not StreamHandler