def _assert_cloud_config_arg(self, cmd_options, default_args):

        cloud = mock.Mock(name="cloudy")
        cloud.config = {}
        self.occ_get_one = mock.Mock(return_value=cloud)
        with mock.patch(
                "os_client_config.config.OpenStackConfig.get_one_cloud",
                self.occ_get_one,
        ):
            _shell, _cmd = make_shell(), cmd_options + " list project"
            fake_execute(_shell, _cmd)

            opts = self.occ_get_one.call_args[1]['argparse']
            for k in default_args.keys():
                self.assertEqual(
                    default_args[k],
                    vars(opts)[k],
                    "%s does not match" % k,
                )
Lists any staff members in the byline according to AP list style. Falls
dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/tests/test_shell.py/TestShell._assert_cloud_config_arg--crossover with--dataset/ETHPy150Open albatrossandco/brubeck_cms/brubeck/articles/feeds.py/list_authors