class immune(unittest.TestCase): """ Test that immune returns correctly """ def setUp(self): """ Builds the status""" self.status = Status() def notImmune(self): """ Test if it can correctly identify when the target is not immune """ types = ["ELECTRIC"] other = "FIRE" assert not self.status.immune(types, other), "Should never be immune."