def test_add_product_with_profile(self):
        profile = self.F.ProfileFactory.create()
        envs = self.F.EnvironmentFactory.create_full_set(
            {"OS": ["OS X", "Linux"]}, profile=profile)

        f = self.form(
            {
                "name": "Two",
                "version": "1.0",
                "profile": profile.id,
                "cc_version": "0",
                }
            )

        version = f.save().versions.get()

        self.assertEqual(set(version.environments.all()), set(envs))
Add some prefixes and make sure number of children is correct
dataset/ETHPy150Open mozilla/moztrap/tests/view/manage/products/test_forms.py/AddProductFormTest.test_add_product_with_profile--crossover with--dataset/ETHPy150Open SpriteLink/NIPAP/tests/nipaptest.py/TestPrefixChildren.test_children1