diff --git a/openstack_cli/tests/identity/v3/user/access_rule/list.rs b/openstack_cli/tests/identity/v3/user/access_rule/list.rs new file mode 100644 index 000000000..a5ed7debe --- /dev/null +++ b/openstack_cli/tests/identity/v3/user/access_rule/list.rs @@ -0,0 +1,32 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 +// +// WARNING: This file is automatically generated from OpenAPI schema using +// `openstack-codegenerator`. + +use assert_cmd::prelude::*; +use std::process::Command; + +#[test] +fn list() -> Result<(), Box> { + let mut cmd = Command::cargo_bin("osc")?; + + cmd.arg("identity") + .arg("access-rule") + .arg("list") + .arg("--current-user"); + cmd.assert().success(); + + Ok(()) +} diff --git a/openstack_cli/tests/identity/v3/user/access_rule/mod.rs b/openstack_cli/tests/identity/v3/user/access_rule/mod.rs index 0f568f3de..c4da39fbd 100644 --- a/openstack_cli/tests/identity/v3/user/access_rule/mod.rs +++ b/openstack_cli/tests/identity/v3/user/access_rule/mod.rs @@ -13,5 +13,6 @@ // SPDX-License-Identifier: Apache-2.0 mod delete_autogen; +mod list; mod list_autogen; mod show_autogen; diff --git a/openstack_cli/tests/identity/v3/user/application_credential/list.rs b/openstack_cli/tests/identity/v3/user/application_credential/list.rs new file mode 100644 index 000000000..1ad912060 --- /dev/null +++ b/openstack_cli/tests/identity/v3/user/application_credential/list.rs @@ -0,0 +1,32 @@ +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 +// +// WARNING: This file is automatically generated from OpenAPI schema using +// `openstack-codegenerator`. + +use assert_cmd::prelude::*; +use std::process::Command; + +#[test] +fn list() -> Result<(), Box> { + let mut cmd = Command::cargo_bin("osc")?; + + cmd.arg("identity") + .arg("application-credential") + .arg("list") + .arg("--current-user"); + cmd.assert().success(); + + Ok(()) +} diff --git a/openstack_cli/tests/identity/v3/user/application_credential/mod.rs b/openstack_cli/tests/identity/v3/user/application_credential/mod.rs index 482f3111c..5d8783d81 100644 --- a/openstack_cli/tests/identity/v3/user/application_credential/mod.rs +++ b/openstack_cli/tests/identity/v3/user/application_credential/mod.rs @@ -14,5 +14,6 @@ mod create_autogen; mod delete_autogen; +mod list; mod list_autogen; mod show_autogen;