Table of Contents

Class: TestLockL test/testComponents.py

Tests for ILockL components

Subclass 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]

Base Classes   
TestListener
    TestCase
Methods   
setUp
testLockDone
testLockFailLocked
  setUp 
setUp ( self )

  testLockDone 
testLockDone ( self )

checks that the object can be locked

  testLockFailLocked 
testLockFailLocked ( self )

checks that a locked object returns an error if locked.


Table of Contents

This document was automatically generated on Mon Aug 8 17:04:09 2005 by HappyDoc version 2.1