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

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

src/e/o/Eos-HEAD/tests/restriction_tracker/restrictions/test_skill_requirement.py   Eos(Download)
 
from eos.const.eos import Location, Restriction, State
from eos.fit.holder.item import ModuleHigh, Skill
from eos.tests.restriction_tracker.restriction_testcase import RestrictionTestCase
 
        self.track_holder(holder)
        skill_item = self.ch.type_(type_id=50)
        skill_holder = Mock(state=State.offline, item=skill_item, _location=Location.character, spec_set=Skill(1))
        skill_holder.level = 2
        self.track_holder(skill_holder)
        self.track_holder(holder)
        skill_item = self.ch.type_(type_id=48)
        skill_holder = Mock(state=State.offline, item=skill_item, _location=Location.character, spec_set=Skill(1))
        skill_holder.level = 5
        self.track_holder(skill_holder)
        self.track_holder(holder)
        skill_item = self.ch.type_(type_id=50)
        skill_holder = Mock(state=State.offline, item=skill_item, _location=Location.character, spec_set=Skill(1))
        skill_holder.level = 3
        self.track_holder(skill_holder)