Skip to content

Commit 445b557

Browse files
committed
Fix doctest
Signed-off-by: Madhav Kandukuri <[email protected]>
1 parent c169bd2 commit 445b557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcpgateway/utils/passthrough_headers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def get_passthrough_headers(request_headers: Dict[str, str], base_headers: Dict[
144144
Examples:
145145
Feature disabled by default (secure by default):
146146
>>> from unittest.mock import Mock, patch
147-
>>> with patch("mcpgateway.utils.passthrough_headers.settings") as mock_settings:
147+
>>> with patch(__name__ + ".settings") as mock_settings:
148148
... mock_settings.enable_header_passthrough = False
149149
... mock_settings.default_passthrough_headers = ["X-Tenant-Id"]
150150
... mock_db = Mock()

0 commit comments

Comments
 (0)