示例#1
0
class onStab(unittest.TestCase):
    """ Test that onStab returns the correct mods """
    
    def setUp(self):
        """ Builds the delegate and side for use in the tests """
        self.ability = BoostStabAbility("")
        
    def properReturnValues(self):
        """ Check that onStatMod returns the proper default values """
        mod = self.ability.onStab()
        
        assert mod == BoostStabAbility.stabMod, "Stab Mod should be mod from BoostStabAbility."
示例#2
0
class onStab(unittest.TestCase):
    """ Test that onStab returns the correct mods """

    def setUp(self):
        """ Builds the delegate and side for use in the tests """
        self.ability = BoostStabAbility("")

    def properReturnValues(self):
        """ Check that onStatMod returns the proper default values """
        mod = self.ability.onStab()

        assert mod == BoostStabAbility.stabMod, "Stab Mod should be mod from BoostStabAbility."
示例#3
0
 def setUp(self):
     """ Builds the delegate and side for use in the tests """
     self.ability = BoostStabAbility("")
示例#4
0
 def setUp(self):
     """ Builds the delegate and side for use in the tests """
     self.ability = BoostStabAbility("")