def add_dicts(self, suite_dicts):
        """
        Add a list of suite dictionaries.

        Keyword arguments:

        * suite_dicts -- a list of dictionaries that represent suites
          to be imported

        The list should look like this::

            [
                {
                    "name": "suite1 name"
                    "description": "suite description",
                },
                {
                    "name": "suite2 name"
                    "description": "suite description",
                },
            ]

        Suites without names will be skipped.

        """

        for suite_dict in suite_dicts:
            try:
                suite = self.map.setdefault(suite_dict["name"], {})
                suite.setdefault(
                    "description",
                    suite_dict.get("description", ""),
                    )

            except __HOLE__:
                self.result.warn(
                    ImportResult.SKIP_SUITE_NO_NAME,
                    suite_dict,
                    )
dataset/ETHPy150Open mozilla/moztrap/moztrap/model/library/importer.py/SuiteImporter.add_dicts