# Path: cliff/_argparse.py
# class _ArgumentContainerMixIn(object):
# class ArgumentParser(_ArgumentContainerMixIn, argparse.ArgumentParser):
# class _ArgumentGroup(_ArgumentContainerMixIn, orig_argparse._ArgumentGroup):
# class _MutuallyExclusiveGroup(_ArgumentContainerMixIn,
#                               orig_argparse._MutuallyExclusiveGroup):
# class SmartHelpFormatter(argparse.HelpFormatter):
#     def add_argument_group(self, *args, **kwargs):
#     def add_mutually_exclusive_group(self, **kwargs):
#     def _handle_conflict_ignore(self, action, conflicting_actions):
# def _handle_conflict_ignore(container, option_string_actions,
#                             new_action, conflicting_actions):
#     def _split_lines(self, text, width):


import unittest
from cliff import _argparse

class TestArgparse(unittest.TestCase):

    def test_argument_parser(self):
        _argparse.ArgumentParser(conflict_handler='ignore')

    def test_argument_parser_add_group(self):
        parser = _argparse.ArgumentParser(conflict_handler='ignore')
        parser.add_argument_group()

    def test_argument_parser_add_mutually_exclusive_group(self):
        parser = _argparse.ArgumentParser(conflict_handler='ignore')
        parser.add_mutually_exclusive_group()

    def test_argument_parser_add_nested_group(self):
        parser = _argparse.ArgumentParser(conflict_handler='ignore')
        group = parser.add_argument_group()
        group.add_argument_group()

    def test_argument_parser_add_nested_mutually_exclusive_group(self):
        parser = _argparse.ArgumentParser(conflict_handler='ignore')
        group = parser.add_argument_group()
        group.add_mutually_exclusive_group()

    def test_argument_parser_add_mx_nested_group(self):
        parser = _argparse.ArgumentParser(conflict_handler='ignore')
        group = parser.add_mutually_exclusive_group()
        group.add_argument_group()

    def test_argument_parser_add_mx_nested_mutually_exclusive_group(self):

# Path: cliff/_argparse.py
# class _ArgumentContainerMixIn(object):
# class ArgumentParser(_ArgumentContainerMixIn, argparse.ArgumentParser):
# class _ArgumentGroup(_ArgumentContainerMixIn, orig_argparse._ArgumentGroup):
# class _MutuallyExclusiveGroup(_ArgumentContainerMixIn,
#                               orig_argparse._MutuallyExclusiveGroup):
# class SmartHelpFormatter(argparse.HelpFormatter):
#     def add_argument_group(self, *args, **kwargs):
#     def add_mutually_exclusive_group(self, **kwargs):
#     def _handle_conflict_ignore(self, action, conflicting_actions):
# def _handle_conflict_ignore(container, option_string_actions,
#                             new_action, conflicting_actions):
#     def _split_lines(self, text, width):


# Path: cliff/tests/test__argparse.py
import unittest
from cliff import _argparse


class TestArgparse(unittest.TestCase):

    def test_argument_parser(self):
        _argparse.ArgumentParser(conflict_handler='ignore')

    def test_argument_parser_add_group(self):
        parser = _argparse.ArgumentParser(conflict_handler='ignore')
        parser.add_argument_group()

    def test_argument_parser_add_mutually_exclusive_group(self):
        parser = _argparse.ArgumentParser(conflict_handler='ignore')
        parser.add_mutually_exclusive_group()

    def test_argument_parser_add_nested_group(self):
        parser = _argparse.ArgumentParser(conflict_handler='ignore')
        group = parser.add_argument_group()
        group.add_argument_group()

    def test_argument_parser_add_nested_mutually_exclusive_group(self):
        parser = _argparse.ArgumentParser(conflict_handler='ignore')
        group = parser.add_argument_group()
        group.add_mutually_exclusive_group()

    def test_argument_parser_add_mx_nested_group(self):
        parser = _argparse.ArgumentParser(conflict_handler='ignore')
        group = parser.add_mutually_exclusive_group()
        group.add_argument_group()

    def test_argument_parser_add_mx_nested_mutually_exclusive_group(self):

        parser = _argparse.ArgumentParser(conflict_handler='ignore')