Projects
Eulaceura:Factory
python-jaeger-client
_service:obs_scm:fix-check-error.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:fix-check-error.patch of Package python-jaeger-client
From d41056b46a6506a8986371007a3de9004a684d3a Mon Sep 17 00:00:00 2001 From: zhangxianting <zhangxianting@uniontech.com> Date: Fri, 16 Aug 2024 16:05:23 +0800 Subject: [PATCH] fix check error --- tests/test_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_utils.py b/tests/test_utils.py index 0b111de..7f77131 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -52,7 +52,7 @@ class ConfigTests(unittest.TestCase): mock_metrics = mock.MagicMock() er = utils.ErrorReporter(mock_metrics) er.error('foo', 1) - assert mock_metrics.count.called_with('foo', 1) + assert mock_metrics.count.call_with('foo', 1) def test_error_reporter_doesnt_send_log_messages_if_before_deadline(self): mock_logger = mock.MagicMock() -- 2.43.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2