def testDoubleInstall(self):
     installCommand(FakeCommand)
     self.assertRaises(AssertionError, installCommand, FakeCommand)
     deinstallCommand(FakeCommand)
 def testDispatchOK(self):
     installCommand(FakeCommand)
     self.assert_(type(dispatchCommand('sf.test.fake')) is FakeCommand)
     deinstallCommand(FakeCommand)