File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
packages/toolbox-core/tests Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -160,17 +160,21 @@ def test_toolbox_sync_tool_underscore_required_authn_params_property(
160160):
161161 """Tests the _required_authn_params property."""
162162 assert (
163- toolbox_sync_tool ._required_authn_params == mock_async_tool ._required_authn_params
163+ toolbox_sync_tool ._required_authn_params
164+ == mock_async_tool ._required_authn_params
164165 )
165166
167+
166168def test_toolbox_sync_tool_underscore_required_authz_tokens_property (
167169 toolbox_sync_tool : ToolboxSyncTool , mock_async_tool : MagicMock
168170):
169171 """Tests the _required_authz_tokens property."""
170172 assert (
171- toolbox_sync_tool ._required_authz_tokens == mock_async_tool ._required_authz_tokens
173+ toolbox_sync_tool ._required_authz_tokens
174+ == mock_async_tool ._required_authz_tokens
172175 )
173176
177+
174178def test_toolbox_sync_tool_underscore_auth_service_token_getters_property (
175179 toolbox_sync_tool : ToolboxSyncTool , mock_async_tool : MagicMock
176180):
Original file line number Diff line number Diff line change @@ -586,6 +586,7 @@ def test_toolbox_tool_underscore_required_authn_params_property(
586586 with pytest .raises (TypeError ):
587587 required_authn_params ["new_param" ] = ["new_service" ]
588588
589+
589590def test_toolbox_tool_underscore_required_authz_tokens_property (
590591 toolbox_tool : ToolboxTool ,
591592):
@@ -597,6 +598,7 @@ def test_toolbox_tool_underscore_required_authz_tokens_property(
597598 with pytest .raises (TypeError ):
598599 required_authz_tokens [0 ] = "new_service"
599600
601+
600602def test_toolbox_tool_underscore_auth_service_token_getters_property (
601603 toolbox_tool : ToolboxTool ,
602604):
You can’t perform that action at this time.
0 commit comments