Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(13)  |  Call(13)  |  Derive(0)  |  Import(0)

src/e/o/Eos-HEAD/tests/restriction_tracker/restrictions/test_charge_group.py   Eos(Download)
        self.assertIsNotNone(restriction_error2)
        self.assertEqual(len(restriction_error2.allowed_groups), 1)
        self.assertIn(3, restriction_error2.allowed_groups)
        self.assertEqual(restriction_error2.holder_group, 1008)
        self.untrack_holder(container_holder)
        self.assertIsNotNone(restriction_error2)
        self.assertEqual(len(restriction_error2.allowed_groups), 1)
        self.assertIn(3, restriction_error2.allowed_groups)
        self.assertEqual(restriction_error2.holder_group, 1008)
        self.untrack_holder(container_holder)
        self.assertIsNotNone(restriction_error2)
        self.assertEqual(len(restriction_error2.allowed_groups), 1)
        self.assertIn(3, restriction_error2.allowed_groups)
        self.assertEqual(restriction_error2.holder_group, 1008)
        self.untrack_holder(container_holder)
        self.assertIsNotNone(restriction_error2)
        self.assertEqual(len(restriction_error2.allowed_groups), 1)
        self.assertIn(3, restriction_error2.allowed_groups)
        self.assertEqual(restriction_error2.holder_group, 1008)
        self.untrack_holder(container_holder)
        self.assertIsNotNone(restriction_error2)
        self.assertEqual(len(restriction_error2.allowed_groups), 1)
        self.assertIn(3, restriction_error2.allowed_groups)
        self.assertEqual(restriction_error2.holder_group, 1008)
        self.untrack_holder(container_holder)

src/e/o/Eos-HEAD/tests/restriction_tracker/restrictions/test_holder_class.py   Eos(Download)
        self.assertEqual(restriction_error.holder_class, Implant)
        self.assertEqual(len(restriction_error.expected_classes), 1)
        self.assertIn(Booster, restriction_error.expected_classes)
        self.untrack_holder(holder)
        self.assertEqual(len(self.log), 0)
        self.assertEqual(restriction_error.holder_class, Drone)
        self.assertEqual(len(restriction_error.expected_classes), 2)
        self.assertIn(Booster, restriction_error.expected_classes)
        self.assertIn(Implant, restriction_error.expected_classes)
        self.untrack_holder(holder)