def test_too_high(self): config = Configuration(base_bet=1, payout=10000) self.assertFalse( config.check_valid_payout(), "Invalid payout value of" " 10000 was marked as" " valid, but it is too" "high")
def test_too_low(self): config = Configuration(base_bet=1, payout=1) self.assertFalse( config.check_valid_payout(), "Invalid payout value of" " 1 was marked as valid," " but it is too low")
def test_valid_value(self): config = Configuration(base_bet=1, payout=3) self.assertTrue(config.check_valid_payout(), "Valid payout value of 3" "was marked as invalid")