From 98256e88c08c0fa818df1d59e8eb06f476e97eee Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Wed, 3 Apr 2024 21:54:52 +0200 Subject: [PATCH] Tests: Fix original_only wrapper The wrapper function was not actually returned from the decorator function. Change-Id: I046fc26b89fccaeb438132b8cf7b86c1fd0aebbb --- glanceclient/tests/unit/test_http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/glanceclient/tests/unit/test_http.py b/glanceclient/tests/unit/test_http.py index fef3b6a4..31d21f9d 100644 --- a/glanceclient/tests/unit/test_http.py +++ b/glanceclient/tests/unit/test_http.py @@ -43,6 +43,7 @@ def original_only(f): self.skipTest('Skip logging tests for session client') return f(self, *args, **kwargs) + return wrapper class TestClient(testtools.TestCase):