Class: TestLockL | test/testComponents.py | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tests for ILockL componentsSubclass for component testing name the component self.com When subclassing for testing create a keyobject and move it to the actor self.key = pub.objs.Thing() self.key.moveTo(self.actor) also make sure the lock knows about the key. self.com.keys = [self.key]
|