Exemple #1
0
 def test_decimal(self):
     self.assertEquals(Decimal('42479.4'), parse.iati_decimal(u"42479.4"))
Exemple #2
0
 def test_decimal_sign(self):
     self.assertEquals(Decimal('-20026'), parse.iati_decimal(u"-20026"))
Exemple #3
0
 def test_decimal_thousand_sep(self):
     self.assertEquals(Decimal('20026'), parse.iati_decimal(u"20,026"))
Exemple #4
0
 def test_decimal(self):
     self.assertEquals(Decimal('42479.4'), parse.iati_decimal(u"42479.4"))
Exemple #5
0
 def test_decimal_sign(self):
     self.assertEquals(Decimal('-20026'), parse.iati_decimal(u"-20026"))
Exemple #6
0
 def test_decimal_thousand_sep(self):
     self.assertEquals(Decimal('20026'), parse.iati_decimal(u"20,026"))