class effectivenessOnDefense(unittest.TestCase): """ Test that effectivenessOnDefense returns the correct mods """ def setUp(self): """ Builds the delegate and side for use in the tests """ self.ability = Ability(None) self.mod = 1 def properReturnValues(self): """ Check that effectivenessOnDefense returns the proper default values """ mod, message = self.ability.effectivenessOnDefense(None, None) assert mod == self.mod, "Mod should not be altered." assert message is None, "Should have no special message."
class effectivenessOnDefense(unittest.TestCase): """ Test that effectivenessOnDefense returns the correct mods """ def setUp(self): """ Builds the delegate and side for use in the tests """ self.ability = Ability(None) self.mod = 1 def properReturnValues(self): """ Check that effectivenessOnDefense returns the proper default values """ mod, message = self.ability.effectivenessOnDefense(None, None) assert mod == self.mod, "Mod should not be altered." assert message is None, "Should have no special message."