def testPriceConversionToPoundsAndPenceWithEmptyPrice(self): g = Gift(price=None) self.assertEquals(None, g.price_in_pounds())
def testPriceConversionToPoundsAndPence(self): g = Gift(price=2499) self.assertEquals("£24.99", g.price_in_pounds())
def testPriceConversionToPoundsAndPenceWithSubOnePound(self): g = Gift(price=99) self.assertEquals("£0.99", g.price_in_pounds())