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(
160
160
):
161
161
"""Tests the _required_authn_params property."""
162
162
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
164
165
)
165
166
167
+
166
168
def test_toolbox_sync_tool_underscore_required_authz_tokens_property (
167
169
toolbox_sync_tool : ToolboxSyncTool , mock_async_tool : MagicMock
168
170
):
169
171
"""Tests the _required_authz_tokens property."""
170
172
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
172
175
)
173
176
177
+
174
178
def test_toolbox_sync_tool_underscore_auth_service_token_getters_property (
175
179
toolbox_sync_tool : ToolboxSyncTool , mock_async_tool : MagicMock
176
180
):
Original file line number Diff line number Diff line change @@ -586,6 +586,7 @@ def test_toolbox_tool_underscore_required_authn_params_property(
586
586
with pytest .raises (TypeError ):
587
587
required_authn_params ["new_param" ] = ["new_service" ]
588
588
589
+
589
590
def test_toolbox_tool_underscore_required_authz_tokens_property (
590
591
toolbox_tool : ToolboxTool ,
591
592
):
@@ -597,6 +598,7 @@ def test_toolbox_tool_underscore_required_authz_tokens_property(
597
598
with pytest .raises (TypeError ):
598
599
required_authz_tokens [0 ] = "new_service"
599
600
601
+
600
602
def test_toolbox_tool_underscore_auth_service_token_getters_property (
601
603
toolbox_tool : ToolboxTool ,
602
604
):
You can’t perform that action at this time.
0 commit comments