Table of Contents

Class: TestIUnlockL test/testComponents.py

Tests for IUnlockL 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
testUnlockFailNotLocked
testUnlockLDone
  setUp 
setUp ( self )

  testUnlockFailNotLocked 
testUnlockFailNotLocked ( self )

check that unlocking a not locked object will result in an error

  testUnlockLDone 
testUnlockLDone ( self )

check that an object can be unlocked.


Table of Contents

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