class getStatMod(unittest.TestCase): """ Test that statMod returns the correct values for all stats """ def setUp(self): """ Builds the Status object""" self.status = Status() def checkStatMods(self): """ Test that stat modifiers are correct for generic status """ for key in self.status.statMods: assert self.status.getStatMod(key) == 1, "All stats should be 1"
class getStatMod(unittest.TestCase): """ Test that statMod returns the correct values for all stats """ def setUp(self): """ Builds the Status object""" self.status = Status() def checkStatMods(self): """ Test that stat modifiers are correct for generic status """ for key in self.status.statMods: assert self.status.getStatMod(key) == 1, "All stats should be 1"