Ejemplo n.º 1
0
    def test_list_manage_opts(self):
        opt_list = opts.list_manage_opts()
        expected_opt_groups = [
            None,
        ]
        expected_opt_names = []

        self._check_opt_groups(opt_list, expected_opt_groups)
        self._check_opt_names(opt_list, expected_opt_names)
        self._test_entry_point('glance.manage', expected_opt_groups,
                               expected_opt_names)
Ejemplo n.º 2
0
    def test_list_manage_opts(self):
        opt_list = opts.list_manage_opts()
        expected_opt_groups = [
            None,
        ]
        expected_opt_names = [
        ]

        self._check_opt_groups(opt_list, expected_opt_groups)
        self._check_opt_names(opt_list, expected_opt_names)
        self._test_entry_point('glance.manage',
                               expected_opt_groups, expected_opt_names)
Ejemplo n.º 3
0
    def test_list_manage_opts(self):
        opt_list = opts.list_manage_opts()
        expected_opt_groups = [
            None,
        ]
        expected_opt_names = [
            'debug', 'verbose', 'log-config-append', 'log-format',
            'log-date-format', 'log-file', 'log-dir', 'use-syslog',
            'use-syslog-rfc-format', 'syslog-log-facility',
            'db_enforce_mysql_charset'
        ]

        self._check_opt_groups(opt_list, expected_opt_groups)
        self._check_opt_names(opt_list, expected_opt_names)
        self._test_entry_point('glance.manage', expected_opt_groups,
                               expected_opt_names)
Ejemplo n.º 4
0
    def test_list_manage_opts(self):
        opt_list = opts.list_manage_opts()
        expected_opt_groups = [
            None,
        ]
        expected_opt_names = [
            'debug',
            'verbose',
            'log-config-append',
            'log-format',
            'log-date-format',
            'log-file',
            'log-dir',
            'use-syslog',
            'use-syslog-rfc-format',
            'syslog-log-facility',
            'db_enforce_mysql_charset'
        ]

        self._check_opt_groups(opt_list, expected_opt_groups)
        self._check_opt_names(opt_list, expected_opt_names)
        self._test_entry_point('glance.manage',
                               expected_opt_groups, expected_opt_names)