Beispiel #1
0
class cantHandle(unittest.TestCase):
    """ Test cases of cantHandle """
    def setUp(self):
        """ Build the FaintHandler for the test """
        self.handler = FaintHandlerDelegate()

    def regardless(self):
        """ Test that it returns false regardless """
        cantHandle = self.handler.cantHandle()
        assert not cantHandle, "Can handle"
class cantHandle(unittest.TestCase):
    """ Test cases of cantHandle """
    
    def  setUp(self):
        """ Build the FaintHandler for the test """
        self.handler = FaintHandlerDelegate()
        
    def regardless(self):
        """ Test that it returns false regardless """
        cantHandle = self.handler.cantHandle()
        assert not cantHandle, "Can handle"
 def  setUp(self):
     """ Build the FaintHandler for the test """
     self.handler = FaintHandlerDelegate()
Beispiel #4
0
 def setUp(self):
     """ Build the FaintHandler for the test """
     self.handler = FaintHandlerDelegate()