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

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

src/e/o/Eos-HEAD/tests/attribute_calculator/special/test_transition.py   Eos(Download)
        fit1.items.add(module)
        self.assertAlmostEqual(module.attributes.get(tgt_attr.id), 55)
        fit1.items.remove(module)
        fit1.ship = None
        self.assert_link_buffers_empty(fit1)
        fit2.items.add(module)
        self.assertAlmostEqual(module.attributes.get(tgt_attr.id), 60)
        fit2.ship = None
        fit2.items.remove(module)
        self.assertAlmostEqual(module.attributes.get(tgt_attr2.id), 90)
        fit.ship = None
        fit.items.remove(module)
        self.assert_link_buffers_empty(fit)