def import_suites(self):
        """Import all mapped suites."""

        for suite_name, suite_data in self.map.items():

            suite, created = Suite.objects.get_or_create(
                name=suite_name,
                product=self.product,
                defaults={"description": suite_data.get("description", "")},
                )

            if created:
                self.result.num_suites += 1

            # now add any cases the suite may have specified
            if suite_data in "cases":
                for case in suite_data["cases"]:
                    SuiteCase.objects.create(case=case, suite=suite)

        # we have imported (or warned on) these items, so reset map.
        self.map.clear()

        return self.result
dataset/ETHPy150Open mozilla/moztrap/moztrap/model/library/importer.py/SuiteImporter.import_suites/swapped operands of `in`