Skip to content

Commit 4777f5b

Browse files
committed
fix: test_server_errors mock fix for failed CI
For the success case, return None for usage not a mock object. Signed-off-by: Mark Sturdevant <mark.sturdevant@ibm.com>
1 parent 6c91522 commit 4777f5b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/cli/test_serve_errors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def mock_module_success():
1717
module.__name__ = "test_module"
1818
output = Mock()
1919
output.value = "Test response"
20+
output.usage = None # No usage info in this test
2021
module.serve = Mock(return_value=output)
2122
return module
2223

0 commit comments

Comments
 (0)