Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/api_resources/sys/test_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def test_method_list(self, client: Asktable) -> None:
def test_method_list_with_all_params(self, client: Asktable) -> None:
project = client.sys.projects.list(
page=1,
project_ids=["string"],
project_ids=["string", "string"],
size=1,
)
assert_matches_type(SyncPage[Project], project, path=["response"])
Expand Down Expand Up @@ -365,7 +365,7 @@ async def test_method_list(self, async_client: AsyncAsktable) -> None:
async def test_method_list_with_all_params(self, async_client: AsyncAsktable) -> None:
project = await async_client.sys.projects.list(
page=1,
project_ids=["string"],
project_ids=["string", "string"],
size=1,
)
assert_matches_type(AsyncPage[Project], project, path=["response"])
Expand Down
4 changes: 2 additions & 2 deletions tests/api_resources/test_bots.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def test_method_list(self, client: Asktable) -> None:
@parametrize
def test_method_list_with_all_params(self, client: Asktable) -> None:
bot = client.bots.list(
bot_ids=["string"],
bot_ids=["string", "string"],
name="name",
page=1,
size=1,
Expand Down Expand Up @@ -437,7 +437,7 @@ async def test_method_list(self, async_client: AsyncAsktable) -> None:
@parametrize
async def test_method_list_with_all_params(self, async_client: AsyncAsktable) -> None:
bot = await async_client.bots.list(
bot_ids=["string"],
bot_ids=["string", "string"],
name="name",
page=1,
size=1,
Expand Down
4 changes: 2 additions & 2 deletions tests/api_resources/test_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def test_method_list_with_all_params(self, client: Asktable) -> None:
policy = client.policies.list(
name="name",
page=1,
policy_ids=["string"],
policy_ids=["string", "string"],
size=1,
)
assert_matches_type(SyncPage[Policy], policy, path=["response"])
Expand Down Expand Up @@ -507,7 +507,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAsktable) ->
policy = await async_client.policies.list(
name="name",
page=1,
policy_ids=["string"],
policy_ids=["string", "string"],
size=1,
)
assert_matches_type(AsyncPage[Policy], policy, path=["response"])
Expand Down
8 changes: 4 additions & 4 deletions tests/api_resources/test_roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def test_method_list_with_all_params(self, client: Asktable) -> None:
role = client.roles.list(
name="name",
page=1,
role_ids=["string"],
role_ids=["string", "string"],
size=1,
)
assert_matches_type(SyncPage[Role], role, path=["response"])
Expand Down Expand Up @@ -268,7 +268,7 @@ def test_method_get_variables_with_all_params(self, client: Asktable) -> None:
role = client.roles.get_variables(
role_id="role_id",
bot_id="bot_id",
datasource_ids=["string"],
datasource_ids=["string", "string"],
)
assert_matches_type(object, role, path=["response"])

Expand Down Expand Up @@ -441,7 +441,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncAsktable) ->
role = await async_client.roles.list(
name="name",
page=1,
role_ids=["string"],
role_ids=["string", "string"],
size=1,
)
assert_matches_type(AsyncPage[Role], role, path=["response"])
Expand Down Expand Up @@ -554,7 +554,7 @@ async def test_method_get_variables_with_all_params(self, async_client: AsyncAsk
role = await async_client.roles.get_variables(
role_id="role_id",
bot_id="bot_id",
datasource_ids=["string"],
datasource_ids=["string", "string"],
)
assert_matches_type(object, role, path=["response"])

Expand Down