Exemplo n.º 1
0
 def testDoubleInstall(self):
     installCommand(FakeCommand)
     self.assertRaises(AssertionError, installCommand, FakeCommand)
     deinstallCommand(FakeCommand)
Exemplo n.º 2
0
 def testDispatchOK(self):
     installCommand(FakeCommand)
     self.assert_(type(dispatchCommand('sf.test.fake')) is FakeCommand)
     deinstallCommand(FakeCommand)